notepad+使用sftp协议时,是实用远程目录树直接编辑、直接保存的方式进行的,请问在Atom中如何进行
采用 remote-ftp 插件,配置文档示例为
{
"protocol": "sftp",
"host": "ec2-xxx-xxx-xxx-xxx.ap-northeast-1.compute.amazonaws.com",
"port": 22,
"user": "ec2-user",
"pass": "",
"promptForPass": false,
"remote": "/var/www/smart",
"agent": "",
"privatekey": "C:/Users/gonzo/.ssh/smart.pem",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": false
}
试一下atom-sync这个插件。
之前一直在用,很好用,应该满足你的需求。