notepad++连接linux问题
2017-12-14 18:32
381 查看
用notepad++连接linux,首先你要确保你的notepad++所在的系统,和linux所在的系统在同一个局域网,(博主用的是win7系统),然后按照网上别的博主给的用notepad++连接liunx方法连接,会出现报错,错误如下:[SFTP] Connection failed : kex error : did not find one of algos diffie-hellman-group1-sha1 in list curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 for kex algos 。具体是什么原因,博主也不懂。但是这个问题我是这样解决的:
首先进入下面的文件:
sudo vi /etc/ssh/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
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
然后保存退出。重启linux系统就行了。博主亲测,连接成功
首先进入下面的文件:
sudo vi /etc/ssh/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
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
然后保存退出。重启linux系统就行了。博主亲测,连接成功
相关文章推荐
- linux&UNIX下WebSphere数据源连接出现java.lang.UnsatisfiedLinkError: SQLConnect问题的解决方法
- 转:Linux下解决APACHE的TIME_WAIT连接太多问题
- s3c2410 linux 与主机telnet连接缓慢 以及ping通外网中遇到的问题
- s3c2410 linux 与主机telnet连接缓慢 以及ping通外网中遇到的问题
- windows和linux连接问题
- 解决linux ftp连接速度慢的问题!
- SecureCRT 连接Vmware虚拟机上的Linux 超时问题
- 在windows下使用putty连接虚拟中的linux出现主机拒绝的问题(已解决)
- 解决SSH连接linux中文显示乱码问题
- 解决securecrt连接linux,出现的中文乱码问题
- Linux安全攻略 SSH服务连接时常见问题解答
- linux下c++使用occi连接oracle数据库步骤,及出现的问题和解决
- 【转】windows上的db2连接linux上db2的通信问题
- linux下c连接mysql问题
- linux连接上网问题
- Linux下tomcat设置jsp连接mysql 的问题忙了几天,终于搞定
- SecureCRT连接Linux,终端显示中文乱码问题,全方面解决
- mysql在linux下远程连接错误的问题!~
- 远程连接Linux下MySQL失败问题