For which extensions we install see here.

Documentation

https://github.com/Natizyskunk/vscode-sftp/wiki

Setup keyboard shortcuts

VSCode > File > Preferences > Keyboard Shortcuts > SFTP: Upload Active File > Add shortcut: CTRL+SHIFT+U

Configure new connection

Ctrl+Shift+P to open command palette > SFTP: config

A basic configuration file will be created named sftp.json under the .vscode directory.

Edit with the configuration parameters with your remote server connection

Using it

SFTP has its own button on the left side

Looking for available commands: CTRL+SHIFT+P > sftp

Multiple profiles

Config

See the extension info page example.

We found that you need to include this in the json to avoid a “Matches multiple schemas when only one must validate” warning (see here):

	"$schema": "https://raw.githubusercontent.com/liximomo/vscode-sftp/master/schema/sftp.schema.json",
Which profile is currently active?

Shown in the bottom blue toolbar

Changing the active profile

CTRL_SHIFT+P > SFTP: Set Profile

Issues

Doesn’t refresh the remote files properly

Minimise the remote folder back to a single line, then press the refresh button above it.

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *