Configuring SFTP access with Visual Studio Code

I installed SFTP extension:

Pressed Ctrl+P, typed SFTP and configured the extension as follows:

{
    "name": "MacOS",
    "host": "mac",
    "protocol": "sftp",
    "port": 22,
    "username": "admin",
    "remotePath": "/Users/admin/repos/examples/",
    "uploadOnSave": true,
    "downloadOnOpen": true,
    "useTempFile": false,
    "openSsh": false,
    "password": "1234",
    "ignore": [".git", "build-*", ".DS_Store", "*.user"]
}

and it started to work without fixing “No such file” error.

I pressed Ctrl+P, typed SFTP and selected “Download Project”.

Leave a Reply

Your email address will not be published.