xshell无法远程连接阿里云

1 , 查看云服务器IP(公网IP)是否写对

2,查看sshd服务是否启动

systemctl status sshd
xshell无法远程连接阿里云
如果没启动,就先启动sshd服务

systemctl start sshd

3 , 阿里云安全策略中添加规则

xshell无法远程连接阿里云

xshell无法远程连接阿里云

xshell无法远程连接阿里云

配置规则,本人校园网,每次登陆时,本地IP都会变的,所以设置全网段都能登录。当然,还能指定特定IP登录。

入方向出方向都要配置。

xshell无法远程连接阿里云

xshell无法远程连接阿里云

xshell无法远程连接阿里云

完了之后就xshell能登录了。

xshell无法远程连接阿里云