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!!
Download
0 formats
No download links available.
Visual Studio Code SFTP Connection (with a Private Key) | NatokHD