Skip to content

extension used sftp to sync local change to remote servers for vscode

Notifications You must be signed in to change notification settings

zxfrank/sftp-sync

 
 

Repository files navigation

sftp-sync

sftp-sync is a vscode extension used to sync local folder/files to remote machines.

Features

Edit local files and save the change, the change will be uploaded to remote servers.

Logs are available in sftp-sync channel of OUTPUT.

Extension Settings

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.

Typical Settings

"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

Release Notes

0.0.3

Fixed ssh2-streams module can't be found issue.

0.0.1

First release only support sync local resources to remotes when saving the file.

Enjoy!

About

extension used sftp to sync local change to remote servers for vscode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%