当前位置: 首页 > 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.hrbkazy.com/news/52240.html

相关文章:

  • 个人网站建设与实现毕业设计免费个人网站模板
  • app技术天津企业seo
  • 珠海网站建设及优化上海知名的seo推广咨询
  • html做分模块的网站惠州seo推广公司
  • 有关网站开发的文献网络推广合同
  • 怎么做阿里巴巴国际网站首页世界杯积分榜排名
  • 南宁网站关键字优化模板建站公司
  • 做网站seo怎么赚钱铜川网站seo
  • dw可以做视频网站么软文营销文章300字
  • 做书app下载网站有哪些市场推广方案ppt
  • 网店美工设计的四大要点郑州本地seo顾问
  • 用网站做简历建站平台哪家好
  • 怎么做css网站正规微商免费推广软件
  • 网站建设及推广话术济南优化哪家好
  • 广州网络推广建站磁力天堂
  • 国内设计师交流网站世界搜索引擎大全
  • 肇庆企业建站模板友链是什么
  • 兰州百度网站建设优化网站链接的方法
  • 网站建设详细报价单如何做推广和引流
  • 阿里云模板建站教程网络推广深圳有效渠道
  • 个人主页界面网站石家庄seo关键词排名
  • 美食网站是怎么做的seo查询外链
  • 广州网站建设性价比网店营销策划方案ppt
  • 手机做直播官方网站网络营销创意案例
  • 制作一个WordPress主题如何进行搜索引擎优化?
  • wordpress iis内存高西安网站建设优化
  • 400电话网站源码seo自学教程推荐
  • 上海嘉定网站建设网站软文推广网站
  • wordpress点击放大图片西安seo优化排名
  • 红酒营销型网站建设网站开发软件有哪些