xshell6连接ubuntu20.04报错
/bin/cp -arf /etc/ssh/sshd_config /etc/ssh/sshd_config-bak
echo "KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1" >> /etc/ssh/sshd_config
service sshd restart