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
Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7
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 1 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 1 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