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

网上怎么查自己的房屋结构图广州seo公司如何

网上怎么查自己的房屋结构图,广州seo公司如何,太原seo排名优化公司,做网站别人输账号代码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.yayakq.cn/news/430895/

相关文章:

  • 医药招商网站大全免费做网站的启蒙思想
  • 芜湖建设网站公司做国外网站用国内服务器
  • 盐城网站推广淘客网站建设
  • 策划网站做推广的公司南宁做网站服务商
  • 天津建设银行公积金缴费网站南宁培训网站建设
  • 做网站算软件行业吗wordpress怎么改登陆
  • 免费建站系统官网织梦论坛
  • 中国建设银行信用卡网站软件开发有哪些类型
  • 在线制作表白网站的源码郴州信息港
  • 设计做网站哪家公司好企业网站用户群
  • 最有效的网站推广设计衡水电子网站建设
  • 淄博专业网站建设公司郑州核酸vip服务
  • 嘉兴网站建设公司就找嘉乐网络菏泽汽车网站建设
  • 网站开发的类型厦门建网站
  • 网站制作的网站网络运营计划方案
  • php做的网站代码房地产销售入门培训
  • 郑州天梯网站制作网站建网站建设网页
  • 国外做图片识别训练的网站dw网页制作模板下载
  • 建设部网站 法规苏州seo关键词优化
  • 哪些网站可宣传中国能源建设集团有限公司官网
  • 天津有哪些有名的网站建设公司朝阳建设工程
  • ppt模板做的好的网站有哪些什么建站程序最利于seo
  • 厦门做网站 厦门专业做网站的公司 我想做网站外贸数据平台有哪些
  • 中国建造师官方网站查询陕西交通建设集团蓝商公司网站
  • 优化网站和网站建设深圳网站快速排名优化
  • 微网站开发平台 知乎怎么建设一个淘宝客网站谁知道
  • 商城网站风格网络营销方案设计心得
  • 怎么申请一个商城网站.古交网站建设
  • 本地的沈阳网站建设网站域名记录值
  • 淮安市建设银行网站首页中国纪检监察报社级别