title: VisualVM over ssh
body: <p>I've read <a href="https://web.archive.org/web/20130129055724/http://labs.skiinfo.com/?p=77" rel="noreferrer" title="Visual VM remotely over ssh">Visual VM remotely over ssh</a> but I think I've not fully understood because it was not working for me :-( Please can someone give some example?</p>
  
  <p><code>ssh -D 9696 login@ip.of.external.machine</code> and <code>visualvm.exe -J-Dnetbeans.system_socks_proxy=localhost:9696 -J-Djava.net.useSystemProxies=true</code> 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.</p>
  
  <p>Any help?</p>