xshell无法登录阿里云服务器

1. 现象

a. 使用xshell无法登录服务器

b. 查看sshd服务

c. 不同公网ip的电脑正常登陆

2. 解决方案

a. 不同公网ip可以登录,断定是ip被黑名单,联系阿里云服务,把公网ip加入白名单

b. 如何查找公网IP

c. 为了防止发生这种事情,建议Xshell使用exit命令退出,而不是通过点击右上角xx强制退出,这样可能连接还在

原文地址:https://www.cnblogs.com/binfoo/p/5569866.html