De Wiki inetshell
Saltar a: navegación, buscar

Conectarse con jconsole a JMX usando SSH

https://stackoverflow.com/questions/15093376/jconsole-over-ssh-local-port-forwarding

https://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html

-Dcom.sun.management.jmxremote.port=8090
-Dcom.sun.management.jmxremote.rmi.port=8090
-Djava.rmi.server.hostname=127.0.0.1
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
ssh my.javaserver.domain -L 8090:127.0.0.1:8090
Remote Process: -> localhost:8090