Win7 SSH Secure connect Ubuntu: server responded algorithm negotiation failed
2016-04-19 10:41
633 查看
修改ssh的配置文件:
sudo vi /etc/ssh/sshd_config
在配置文件中添加:
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org
重启sshd服务后,即可正常连接:
sudo /etc/init.d/ssh restart
sudo vi /etc/ssh/sshd_config
在配置文件中添加:
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org
重启sshd服务后,即可正常连接:
sudo /etc/init.d/ssh restart
相关文章推荐
- BZOJ2434 [Noi2011]阿狸的打字机(AC自动机 + fail树 + DFS序 + 线段树)
- R-CNN笔记2:rcnn_train.m文件
- poj 1995Raising Modulo Numbers
- 模拟器安装apk提示:INSTALL_FAILED_NO_MATCHING_ABIS
- MySQL实现批量检查表并进行repair与optimize的方法
- Linux 上使用 Gmail SMTP 服务器发送邮件通知
- FOJ 2216 The Longest Straight 第六届福建省大学生程序设计竞赛 E 尺取法乱搞
- 人工智能概述
- shrio 权限管理filterChainDefinitions过滤器配置
- 服务器中很多的CLOSE_WAIT
- 自定义控件三部曲之绘图篇(八)——Paint之ColorMatrix与滤镜效果
- URAL 2060 Subpalindrome Pairs Manacher
- 人工智能60年:纪念活动宣传什么?
- A failed job change
- MySQL实现批量检查表并进行repair与optimize的方法
- 对Run-Time Check Failure #3 - The variable 'a' is being used without being initialized.的处理以及理解
- CommandInvokationFailure: Failed to re-package resources. See the Console for details.
- Raid创建 LVM创建 扩展
- editor does not contain a main type的解决方案
- IBM Watson正致力于将AI和区…