问题
I am connecting to remote Unix system using putty and .ppk key file. Now i want to monitor this remote unix system using Jconsole. On remote system jmx port is enabled on 8080. I have its ip address ,jmx port ,username and .ppk file.How could i connect or remotely monitor using Jconsole? through putty i am connected to remote system using tunneling .
回答1:
I assume the remote port 8080 cannot directly be connected to or you question would be mood, so:
Having a "regular" terminal connection won't help you connect any networked application -- you want to set up a SSH tunnel to forward the remote host's port 8080 to your local host's port :8080 (or any other available port), see http://oldsite.precedence.co.uk/nc/putty.html (espcially Figure 3)
来源:https://stackoverflow.com/questions/7350598/monitoring-remote-system-using-jconsole