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).
- Clone or copy this repository into your
Packages/folder. - Edit settings in Sublime: Preferences → Package Settings → Workspace Mirroring → Settings
| Setting | Description |
|---|---|
enabled |
Enable/disable the plugin (default: true) |
remote_user |
Remote SSH username |
remote_host |
Remote host address |
local_base_dir |
Local base directory path |
remote_base_dir |
Base path on remote host |
folders_to_sync |
List of local folders to watch for changes |
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) |
Supports three authentication modes:
- Key file (
key_fileset) →scp -i /path/to/key ... - Password file (
password_fileset) →sshpass -f /path/to/pass scp ... - Default (neither set) → uses SSH agent or
~/.ssh/id_rsa
sshpass(only if using password authentication)
| Platform | Status |
|---|---|
| Linux | ✅ Tested |
| macOS | |
| Windows |