Skip to content

Instantly share code, notes, and snippets.

@mbaltrusitis
Created July 3, 2015 20:49
Show Gist options
  • Save mbaltrusitis/68074d4eb8c7571eadca to your computer and use it in GitHub Desktop.
Save mbaltrusitis/68074d4eb8c7571eadca to your computer and use it in GitHub Desktop.
Sublime SFTP package settings for remote server development
{
// Matt's Sublime SFTP settings for developing on a remote server
// This setup assumes you are using both an SSH key (as you should) and SFTP
// sftp, ftp or ftps
"type": "sftp",
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_overwrite_newer": false,
"host": "host",
"user": "user",
//"password": "password",
//"port": "22",
"remote_path": "/home/mattbaltrusitis/",
"ignore_regexes": [
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"
],
//"file_permissions": "664",
//"dir_permissions": "775",
"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,
// Custom options as per:
// http://wbond.net/sublime_packages/sftp/sidebar#SublimeSFTP
"save_before_upload": true,
"upload_on_save": true,
"sync_down_on_open": true,
"confirm_sync": true,
"extra_list_connections": 4,
"preserve_modification_times": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment