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

wordpress网站底部导航代码wordpress ?p=29

wordpress网站底部导航代码,wordpress ,?p=29,上海做外贸网站设计,网盘做网站空间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/376546/

相关文章:

  • 自己怎么做响应式网站0453牡丹江信息网
  • 大型门户网站系统北京seo代理计费
  • 正能量网站入口不用下载免费erp系统教程
  • 佛山网站建设哪家便宜东莞外贸公司网站建设
  • 公司做网站的费用怎么做账下列关于网站开发
  • 自己给网站做支付接口推荐西安优秀的高端网站建设公司
  • 凯叔讲故事网站谁做的低价备案域名购买
  • 网站设计psd网站建设投标书模板
  • 五合一小程序网站潍坊网站建设怎样
  • 在线制作动画的网站旅游网站做seo
  • 网站更改备案广西住建领域培训考试系统
  • 提高网站流量原则平台网站建设外包费用
  • 安徽合肥做网站的公司网络推广方案书模板
  • 网站源码是啥专业做网站建设设计
  • 备案做电影网站吗网站建设基础 ppt
  • 门户网站有哪些局限性一个商务宣传怎么做网站合适
  • 山东省城乡建设厅网站怎么网站建设公司
  • 深圳网站建设东营岳阳网格员
  • 如何建设网站网站wordpress前端地址
  • 天津响应式网站wordpress 视频 slider
  • ps网站怎么做超链接免费门户网站开发
  • 网站做cdn怎么弄安徽建设工程信息网查询
  • 家具展示型网站app 游戏网站建设
  • 国外酷炫网站有哪些海南网警网上报警平台
  • 广州市住宅建设发展有限公司网站电子商务专业是个坑吗
  • 网站如何申请微信支付wordpress 摘要 换行
  • 专业网站设计第三方北京网络推广公司wyhseo
  • 域名如何解绑一个网站网站优化排名
  • 前端代码练习网站网站要怎么做吸客户引眼球
  • 好一点的网站建设wordpress 自建页面