0

I am using VScode behind a proxy, To ssh outside we have to use tsocks.

The tsocks config file looks like this:

local = 192.168.0.0/255.255.0.0
local = 172.16.0.0/255.240.0.0
local = 10.0.0.0/255.0.0.0
server = localserver.com
server_type = 5
server_port = 1080

And my ssh config has this host:

Host 13.58.150.49
  HostName 13.58.150.49
  IdentityFile Key.pem
  User ubuntu

So the normal way to connect to this host is:

tsocks ssh 13.58.150.49

I didn't find a way to configure my ssh config file so that vscode could use tsocks as well, or any other work around. I just would have a simple way to remotely connect to an ec2 instance with vscode, give that there's this proxy server in the middle

0 Answers0