I tried to use Jmeter Perfmon plugin to extract monitoring of CPU and Memory utilisation of Linux server. Server is hosted on Linux machine. Currently I connected to the Linux remotely using MobaXterm Personal Edition v21.2 (via SSH connection), and able to access the Linux machine successfully.
I already installed the Server Agent on the Linux.
Now, I want to change the server agent port number to 22 since the Linux machine is using port 22 using this command ServerAgent-2.2.3/ServerAgent-2.2.3/startAgent.sh --udp-port 0 --tcp-port 22. Please refer below error:
I changed the permission at the server agent file already:
Wondering why the permission is still denied? Until now I still unable to connect with port 22. If possible, I want to try this solution first before opt to JMeter SSHMon Listener. Appreciate your help.

