microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.66k stars 286 forks source link

I can't remote on port 443 #1320

Closed Suniron closed 5 years ago

Suniron commented 5 years ago

Hi,

I would like to connect my VScode Insiders on my proffesionnal laptop to my Raspberry 3B+ by the port 443 (needed to bypass the proxy).

I tried to etablish it with userName@raspberryadress:443 but i have this error popup: " Could not etablish connection to "userName@raspberryadress:443". Could not resolve hostname".

Thanks to help me :-)

Sorry for my english 👎 *

roblourens commented 5 years ago

To use a different ssh port, you will have to set up an ssh config file and set the port option. https://code.visualstudio.com/docs/remote/ssh#_remembering-hosts-you-connect-to-frequently

Suniron commented 5 years ago

Thanks!

configuration of ssh file:

Host HostName User Port