putty连接没有问题
xshell报错No matching outgoing encryption,没有匹配的算法
解决方法是在/etc/ssh/sshd_config中增加下述的三行配置信息:
`
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
并重启ssh:
service sshd restart
sudo service ssh status