Visual Studio Code SFTP Connection (with a Private Key)

Published: 13 February 2025
on channel: Shawn Hayes
1,356
8

This is a quick walkthrough on how to Connect VS Code to your server using SFTP with a private key. Should only take 7 Minutes!

Here's the code that I use in the video:

{
"name": "my_remote_server",
"host": "Your IP or Hostname",
"protocol": "sftp",
"port": 22,
"username": "your-username",
"remotePath": "/home/username/public_html",
"privateKeyPath": "/Users/Username/SSH/id_rsa",
"passphrase":true,
"uploadOnSave": false,
"useTempFile": false,
"openSsh": false
}

Let me know if you have any questions. I hope this helps!

Don't forget to Subscribe!!


On this page of the site you can watch the video online Visual Studio Code SFTP Connection (with a Private Key) with a duration of hours minute second in good quality, which was uploaded by the user Shawn Hayes 13 February 2025, share the link with friends and acquaintances, this video has already been watched 1,356 times on youtube and it was liked by 8 viewers. Enjoy your viewing!