-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect over a proxy #117
Comments
@lars18th, can you elaborate on
|
Hi, I know it! However, note that Windows doesn't have ANY native tool to execute as the In any case my proposal of using |
|
Yes.
So, two solutions can be possible:
The main problem is that many developers connect to the target server using SOCKS or HTTP proxies. I hope it's more clear now. 😉 |
There is a know bug of win32-openssh when use parameter ProxyJump, see: https://github.com/PowerShell/Win32-OpenSSH/issues/1172 for the other param ProxyCommand, ssh works fine also, yet still vscode-remote is not working. |
Hi @juztinzhu ,
I don't understand your comment. Please, take note that:
Regards. |
@lars18th Hi, sorry I confused you. I was thinking that if you had noticed the problem of vscode-remote it self, but clearly you have mentioned it in another post, which I just saw. Please ignore it. |
Hello, (My windows is the Windows 10 Pro 1809)
This works in both powershell command line ( |
@badscrew it works! |
@badscrew , thanks, I checked, socks proxy also works. |
does this mean you need to have socks proxy connected in cmd before you connect via vs code remote ssh? edit: nevermind I got it to work with |
Thanks for the discussion here! Upon reviewing this thread, it looks like there are solutions listed, and this isn't quite an issue or feature request lying with Remote - SSH specifically? If folks agree, I'll go ahead and close the issue. |
I think the path of |
Based on the above, going to close out this thread, but please let me know if there are any other Remote - SSH related inquiries here. Thank you! |
Hi,
The native SSH client, that uses this project, doesn't have support for connecting through a PROXY.
However, until native support will be added... here a "tip" for you:
.ssh/config
file:ncat.exe
in your Windows directory (or any other in your path).And that's all! Then you can connect to your dev host over a proxy (or over another SSH session without using the native Jump functionality).
I hope you like it! 😉
The text was updated successfully, but these errors were encountered: