Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Be aware that though the RemoteSSH plugin will install into the telemetry-free VSC fork VSCodium, it will not work due to licensing issues. See https://github.com/VSCodium/vscodium/issues/196
Great post!
I’m a big fan of the remote experience with VS Code, I’ve been using it for a while and like it more and more. I wrote an open source VS Code extension to do the same thing you describe + code synchronization for Kubernetes. Would love to hear what you think!
Just a tip for the Windows users out there, old habits die hard so you still see a lot of tutorials saying to use PuTTY, but since the April 2018 update Windows 10 has had OpenSSH included. In other words, no more need for PuTTY. See how to natively setup your SSH key here: https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
And of course Windows has had WSL for a few years too, so you could use that and just follow the Linux instructions for SSH key generation.
Thank you for this tutorial, however, I am having some issues getting key authentication working. I can access a local server using a username/password combination but for some reason key authent. just does not work. The target server is Ubuntu 18.04.
I can access the server fine through PS when I specify the key file with “-i”, so I know the key is correct, and -p as I also have to use a custom port to get through our cloud perimeter FW.
[08:20:09.621] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 [08:20:09.626] Running script with connection command: ssh -T -D 64699 -p 8022 [correct IP] bash [08:20:09.638] Terminal shell path: C:\WINDOWS\System32\cmd.exe [08:20:10.059] > [08:20:10.060] Got some output, clearing connection timeout [08:20:10.488] > [user-here but not the one configured]@[correct IP]: Permission denied (publickey).
Any ideas on how I can progress this further before I open an issue on the project’s GitHub?
I currently use VSCode with an SSHFS plugin (which works perfectly) to modify files directly on the server, and then have a separate SSH session to execute the code, and was just trying to consolidate this into one tool.
PuTTY is not supported in VSCode, but this article mentions it is.
So, which is it?
algo a tener en cuenta es que se le puede cambiar el puerto de ssh entre hostname y user se le puede agregar port y el numero de puerto por ejemploHost my_remote_server HostName your_server_ip_or_hostname Port 24 User sammy IdentityFile /location/of/your/private/key