You can configure remote debugging to use SSL and authentication, this works for both Windows and Linux, but a little cumbersome. And the port is open all the time.
I am sure that you have every reason to debug your real / useful application and I know that when you really debug it and not only use the connection to gain access to JMX data, for example, your application will stop working when the debugger is connected.
Oracle , , , :
- , RMI ( ). RMI- , , . , Java , com.sun.management.jmxremote.port = portNum, SSL. , , , .
- . , ( ) JMX Java- . , .
. : , ( ), Java. , , MBeans. javax.management.loading.MLet MBean MBeans URL-, , . , - Java .
, , .
( , ssl enabled, ssl) - .
, ssh- ssh . : JVM SSH ( SO, )
jvm. JMX, , , heapdumps, .