ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Simple​Sync

by nickname13 ALL Needs Review

Sublime Text plugin that automatically syncs files to a remote server via SCP/SSH on save. Perfect for syncing local development to a remote machine.

Details

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 485
Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SimpleSync

Automatically uploads files on save to a remote host via SCP/SSH. The idea is that you can have a repo locally and remotely (dev machine). It is your responsibility to keep the repos in sync (git pull/push etc).

Installation

  1. Clone or copy this repository into your Packages/ folder.
  2. Edit settings in Sublime: Preferences → Package Settings → SimpleSync → Settings

Settings

Setting Required Description
enabled Enable/disable the plugin (default: true)
remote_user Y Remote SSH username
remote_host Y Remote host address
local_folder Y Local base directory path i.e. /home/user1/work/
remote_folder Y Base path on remote host i.e. /mnt/space/user1/work/
remote_port Remote SSH port (optional, uses default of your ssh configuration if empty)
subfolders_to_sync List of subfolders to local_folder to watch for changes (empty = sync all)
exclude_patterns List of glob patterns to exclude (e.g. ["*.log", "__pycache__"])
key_file Path to SSH private key (optional)
password_file Path to file containing SSH password (optional)
timeout SCP command timeout in seconds (default: 10)
upload_error_notification How to display upload errors: "popup" (inline popup), "dialog" (modal dialog), or "" (disabled)

Authentication

Supports three authentication modes:

  1. Key file (key_file set) → scp -i /path/to/key ...
  2. Password file (password_file set) → sshpass -f /path/to/pass scp ...
  3. Default (neither set) → uses SSH agent or ~/.ssh/id_rsa

Requirements

  • sshpass (only if using password authentication)

Platform Support

Platform Status
Linux Tested
macOS Should work (untested)
Windows Requires OpenSSH (Win10+), password auth not supported