Created
December 25, 2013 11:44
-
-
Save kaizhuQin/8122505 to your computer and use it in GitHub Desktop.
json:sftp-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// sftp-config.json | |
// 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": true, | |
//開啟時同步遠端到本地 | |
"sync_down_on_open": false, | |
//同步時跳過刪除的檔案 | |
"sync_skip_deletes": false, | |
//開啟「下載確認」 | |
"confirm_downloads": false, | |
//開啟「同步確認」 | |
"confirm_sync": true, | |
//開啟「複寫確認」 | |
"confirm_overwrite_newer": false, | |
"host": "172.16.68.226", | |
"user": "root", | |
"password": "666666", | |
"port": "22", | |
//遠端資料夾路徑 | |
"remote_path": "/var/www/demon/web_new", | |
//略過的檔案或資料夾 | |
"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", | |
"\\.png","\\.jpg","\\.gif","/public/ueditor/php/upload/","/public/topicbanner/", | |
"/public/ueditor/lang/","/public/ueditor/dialogs/","/public/ueditor/themes/", | |
"/public/ueditor/third-party/" | |
], | |
//"file_permissions": "664", | |
//"dir_permissions": "775", | |
//"extra_list_connections": 0, | |
"connect_timeout": 30, | |
//"keepalive": 120, | |
//"ftp_passive_mode": true, | |
//"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", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment