配置 SFTP
文件目录有件 - 选择 SFTP/FTP - Map to Remote...
{
// 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", // 文件权限
"dir_permissions": "775", // 目录权限
"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"],
}