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

2,查看sshd服务是否启动

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

systemctl start sshd

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

xshell无法远程连接阿里云

xshell无法远程连接阿里云

xshell无法远程连接阿里云

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

入方向出方向都要配置。

xshell无法远程连接阿里云

xshell无法远程连接阿里云

xshell无法远程连接阿里云

完了之后就xshell能登录了。

xshell无法远程连接阿里云

相关文章:

  • 2021-04-22
  • 2022-02-09
  • 2021-10-11
  • 2022-01-01
  • 2021-09-28
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2021-04-21
  • 2021-10-17
  • 2021-12-14
  • 2022-01-16
  • 2022-12-23
  • 2021-09-13
相关资源
相似解决方案