Skip to content

Instantly share code, notes, and snippets.

@bradmkjr
Last active March 24, 2016 14:15
Show Gist options
  • Save bradmkjr/8abb10fbaee9ccd31ff7 to your computer and use it in GitHub Desktop.
Save bradmkjr/8abb10fbaee9ccd31ff7 to your computer and use it in GitHub Desktop.
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help
// sftp, ftp or ftps
"type": "sftp",
"save_before_upload": true,
"upload_on_save": false,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"host": "example.com",
"user": "username",
//"password": "password",
//"port": "22",
"remote_path": "/example/path/",
"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",
"/wp-includes/", "/wp-admin/", "/wp-content/upgrade","/wp-content/uploads/",
"/wp-content/themes/twentysixteen/", "/wp-content/themes/twentyfifteen/",
"/wp-content/themes/twentyfourteen/", "/wp-content/themes/twentythirteen/",
"/wp-content/themes/twentytwelve/",
"license\\.txt", "wp-blog-header\\.php", "wp-activate\\.php",
"wp-comments-post\\.php", "wp-config-sample\\.php","wp-cron\\.php",
"error_log", "wp-links-opml\\.php", "wp-load\\.php", "wp-login\\.php",
"wp-mail\\.php", "wp-settings\\.php", "wp-signup\\.php", "wp-trackback\\.php",
"/wp-content/plugins/gravityforms/","/wp-content/plugins/akismet/",
"/wp-content/plugins/underconstruction/","/wp-content/plugins/woocommerce/",
"/wp-content/plugins/syntaxhighlighter/","/wp-content/plugins/wordpress-seo/",
"/wp-content/plugins/all-in-one-seo-pack/","/wp-content/plugins/google-analyticator",
"/wp-content/plugins/wordfence","/wp-content/plugins/wp-super-cache/",
"/wp-content/plugins/wp-ultimate-recipe/",
"/wp-content/uploads/",
"xmlrpc\\.php", "cgi-bin",
"node_modules"
],
//"file_permissions": "664",
//"dir_permissions": "775",
"extra_list_connections": 5,
"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"],
//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment