cat >> /etc/ssh/sshd_config <<EOF
KexAlgorithms +diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1
EOF
sudo systemctl restart ssh
# SecureCRT低版本连接高版本SSH服务器
cat >> /etc/ssh/sshd_config <<EOF
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
EOF
sudo systemctl restart ssh

The server supports these methods: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519


相关文章:

  • 2022-12-23
  • 2021-11-09
  • 2021-05-15
  • 2021-08-23
  • 2021-08-08
  • 2021-04-20
  • 2021-08-01
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2021-11-18
  • 2021-09-26
  • 2022-12-23
相关资源
相似解决方案