配置 SFTP
文件目錄有件 - 選擇 SFTP/FTP - Map to Remote...

Paste_Image.png
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help
"type": "sftp", // 傳輸類型
"sync_down_on_open": true,
"host": "10.2.10.101", // 遠程主機 IP
"user": "www-data", // ssh 用戶名
"password": "W123456", // ssh 用戶密碼
"port": "22", // ssh 端口號(默認22)
"remote_path": "/data/www/website", // 遠程地址
"file_permissions": "775", // 文件權(quán)限
"dir_permissions": "775", // 目錄權(quán)限
"connect_timeout": 30, // 連接超時時間
"upload_on_save": true, // 保存后上傳
"save_before_upload": false,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"ignore_regexes": ["\\.idea/", "\\.DS_Store", "\\.git/", "\\.svn/", "sftp-settings\\.json", "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json"],
}