情况
诊断
解决方案一:systemctl status
参考:https://help.aliyun.com/zh/ecs/user-guide/linux-system-can-not-connect-with-ssh-remote-instances-of-ecs
systemctl status sshd.service
SSH服务未启动有很多原因,例如sshd进程未设置开机自启动、sshd关键目录的owner属性或group属组设置错误、SSH服务配置文件异常、PATH环境变量配置异常、端口被占用等。
标签:status,sshd,登录,密码,systemctl,ecs,SSH,aliyun From: https://www.cnblogs.com/shoelesscai/p/18064208