vscode-remote-fs icon indicating copy to clipboard operation
vscode-remote-fs copied to clipboard

Add proxy support

Open PaulPrice opened this issue 6 years ago • 1 comments

My ssh server is behind a firewall, so connections require a proxy. Using OpenSSH, this is possible with a ~/.ssh/config setup like this:

Host server.com
  ProxyCommand ssh -q -W %h:%p [email protected]
  # Alternatives:
  #ProxyCommand ssh [email protected] exec nc %h %p 2> /dev/null
  #ProxyCommand ssh [email protected] 'exec 3<>/dev/tcp/server.com/22; cat <&3 & cat >&3;kill $!'

Such capability appears to be available within ssh2, so please add support. I think it would be best if the proxy command were configurable.

PaulPrice avatar Aug 25 '18 16:08 PaulPrice

+1

I simply use "ProxyJump myservername" in Remote-SSH config and it works really transparently. I would love to be able to use this with remote-fs.

tuxfamily avatar Feb 10 '20 14:02 tuxfamily