I've read Visual VM remotely over ssh but I think I've not fully understood because it was not working for me :-( Please can someone give some example?
ssh -D 9696 [email protected]
and visualvm.exe -J-Dnetbeans.system_socks_proxy=localhost:9696 -J-Djava.net.useSystemProxies=true
starts visualvm, but no processes of external machine are shown (only the local ones like visualvm itself). Moreover sometimes (but not always) I got the message "channel 3: open failed: connect failed: Connection refused" in my ssh window.
Any help?