阿里云重置服务器后无法远程ssh连接

Connecting to 42.51.xxx.xxx:22…

Connection established.

To escape to local shell, press ‘Ctrl+Alt+]’.

Socket error Event: 32 Error: 10053.

Connection closing…Socket close.

Connection closed by foreign host.

Disconnected from remote host(42.51.xxx.xxx:22) at 20:00:30.

一、产生原因

阿里云服务器重置系统,导致使用第三方工具例如xshell无法ssh连接服务器

二、解决办法

在这里插入图片描述
使用阿里云的远程连接并输入一下以下命令修改系统权限
#chmod 400 /etc/ssh/*
解决问题

猜你喜欢

转载自blog.csdn.net/weixin_43288999/article/details/119818127
今日推荐