使用Notepad++ NppFTP插件通过sftp方式连接到ubuntu系统
一、启动ubuntu
修改 sshd_config配置文件
vi /etc/ssh/sshd_config
把PermitRootLogin 改为 yes
在 sshd_config配置文件末尾添加
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
使用:wq保存
重启服务
service sshd restart
二、启动 Notepad++
这里要输入自己的ip地址,我这里输入的是192.168.136.31
连接成功
如果要修改文件会很方便
如: