xshell 相关
3. XShell 无法匹配的outgoing encryption算法 ,No matching outgoing encryption algorithm found
在链接的属性(SSH -> 安全性) 的加密算法列表中选择 aes256-ctr, mac加密列表中选择hmac-sha2-256,保存即可 https://blog.csdn.net/weixin_30687051/article/details/95599653
因为在使用shell连接虚拟机时连接等待时长太长,ssh的服务端在连接时会自动检测dns环境是否一致导致的,修改为不检测即可。
1.执行vi /etc/ssh/sshd_config
把UseDNS yes,改为UseDNS no
2.重启SSHD服务
systemctl restart sshd 或 service sshd restart
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/qq_44676946/article/details/124645482