第一步:确保linux的防火墙处于关闭状态
本人使用的是centos7版本,默认使用firewall;
firewall-cmd --state #查看防火墙状态
running #防火墙开启中
sudo systemctl stop firewalld.serice #关闭防火墙
firewall-cmd --state #查看防火墙状态
not running #OK,关闭成功
第二步:使用notepad++插件中的NppFTP
选择sftp port 22 点close退出窗口 再点链接,搞定!
ps:超时时间尽量选长一点,有的系统链接过慢会报timerunningou错误