当前位置: 首页 > news >正文

大连永锐网站哪家做的无代码网站开发平台

大连永锐网站哪家做的,无代码网站开发平台,西安软件外包公司排名,做网站有必要注册商标吗SecureCRT使用SSH登录Ubuntu服务器报错:Key exchange failed 原因: ssh客户端与服务器的公钥协商失败,SecureCRT客户端所指定的秘钥交换算法(KexAlgorithms ),不在服务端支持范围内。可能是服务端的sshd版…

SecureCRT使用SSH登录Ubuntu服务器报错:Key exchange failed

原因:
ssh客户端与服务器的公钥协商失败,SecureCRT客户端所指定的秘钥交换算法(KexAlgorithms ),不在服务端支持范围内。可能是服务端的sshd版本比较高、默认配置不支持一些比较旧的秘钥交换算法。

SecureCRT 7.0 仅支持下面几种:



解决方案:
方案1)升级SecureCRT到更高的版本。

方案2)修改sshd服务端配置、指定秘钥交换算法列表。以 ubuntu 为例:

vi /etc/ssh/sshd_config

在配置文件末尾追加配置(如果已经存在、就修改 KexAlgorithms  配置)如下:

# for SecurCRT (version < 8) ssh client
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diff
ie-hellman-group18-sha512,diffie-hellman-group14-sha256,
diffie-hellman-group14-sha1

或者配置:
KexAlgorithms +diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1

重启服务:service sshd restart

方案3)如果无法本地登录管理服务端、只能ssh访问服务端的话,那可以试试用其他ssh客户端软件(支持服务端秘钥交换算法)先登录、修改服务端sshd配置文件、重启服务,然后就可以通过SecureCRT客户端登录了。
例如,如果安装了git,可以用git自带的 ssh.exe 登录、修改服务端配置。
cmd 命令行执行 ssh.exe 登录:
cd c:\Program Files\Git\usr\bin\
ssh.exe root@192.168.1.100

修改sshd配置后,重启sshd服务,然后就可以用SecureCRT SSH登录了。

另外,注意:如果是银河麒麟V10,配置会有差异,如果只是修改 KexAlgorithms 还不够,还是会报错:

Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
No compatible MAC. The server supports these MACs: hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com

后面仔细查看sshd配置文件,配置有些差异,配置有区别:

如果是银河麒麟V10系统,配置如下,需要注释掉原来的 Ciphers、MACs、KexAlgorithms 参数,然后再重新配置 KexAlgorithms 追加到末尾:
Protocol 2
LogLevel VERBOSE
PubkeyAuthentication yes
RSAAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
PermitUserEnvironment no
#Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
ClientAliveCountMax 0
Banner /etc/issue.net
#MACs hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com
StrictModes yes
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
PermitTunnel no
#KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256

# national algorithm standards supports
#HostKeyAlgorithms sm2

# for SecurCRT (version < 8) ssh client
KexAlgorithms 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

http://www.mmbaike.com/news/102817.html

相关文章:

  • 品牌型网站建设方案企业培训的目的和意义
  • 深圳工业设计培训班成都seo网络优化公司
  • wordpress首页置顶文章排序什么是seo
  • 佘山做网站公司网站优化方式有哪些
  • 珠海做网站优化的公司什么是seo优化?
  • 上海网站建设建站seo关键词排名优化费用
  • 外贸网站 备案百度做广告推广怎么样
  • 专门做手工的网站seo文章生成器
  • 莱芜营销型网站制作万网域名注册官网查询
  • 小程序网站开发怎么样贵州百度seo整站优化
  • 太原阳性确诊seo顾问是什么职业
  • 杭州高端响应式网站seo技术306
  • 深圳网站做的好的公司珠海百度seo
  • 个人网站域名备案今日热点头条新闻
  • 聊城做网站推广公司电商营销推广方法
  • 500强网站设计网络推广费用高吗
  • 那个软件可以做网站南宁做网站公司
  • 大岭山仿做网站网站发帖推广平台
  • 做类似360手赚那样的网站今天nba新闻最新消息
  • 英文网站制作自己做一个网站需要什么
  • 温州seo霸屏seo高手培训
  • 柏枫谈做网站都需要学什么在线推广企业网站的方法有
  • 深圳做针织衫服装的网站公司网络搭建
  • app开发注意事项枣庄网络推广seo
  • 为企业交流合作搭建平台seo关键词使用
  • 维护网站要做哪些工作googleplay
  • 做黑枸杞的公司网站资源平台
  • iapp网站做软件教程我想创建一个网络平台
  • 江西汽车网站建设重庆小潘seo
  • 南京佛搜做网站公司百度平台我的订单查询在哪里