sftp-sync is a vscode extension used to sync local folder/files to remote machines.
Edit local files and save the change, the change will be uploaded to remote servers.
Logs are available in sftp-sync channel of OUTPUT.
This extension contributes the following settings:
sftp-sync.local
: local settings include what files to monitor and how to trigger synchronization.sftp-sync.remotes
: remote machines include sftp connection settings and remote root.
"sftp-sync": {
"local": {
"files": [
"**/*.js"
],
"root": "/home/user/workspace"
"syncOnSave": true
},
"remotes": [
{
"host": "remote.server.name",
"username": "user",
"port": 22,
"password": "pass",
"root": "/home/user/"
}
]
}
For more information, please see the intellisense in settings.json
Fixed ssh2-streams
module can't be found issue.
First release only support sync local resources to remotes when saving the file.
Enjoy!