title: Connect to Jenkins Node over socks proxy
body: <p>I have Jenkins deployed behind a corporate proxy. I would like to launch the node on AWS and via ssh, so I need to do ssh through proxy.</p>
  
  <p>I have added these lines in <code>var/lib/jenkins/.ssh/config</code>:</p>
  
  <pre><code>Host &lt;aws host&gt;
  ProxyCommand connect -S proxyhost:port %h %p
  </code></pre>
  
  <p>With these changes I can <code>ssh</code> to the aws instance manually as the jenkins user from my linux with the command <code>ssh -i /var/lib/jenkins/.ssh/other user@aws</code>, but I am not able to launch a jenkins node via ssh. I get a connection timeout while connecting to aws.</p>