xshell和ftp链接不上服务器(openssh-daemon is stopped)

问题:

  • 输入 service sshd start 之后 , 显示 sshd 启动成功
  • 输入service sshd status 查询状态时,却显示 openssh-daemon is stopped

解决方法:

  • 首先用yum remove openssh-server删掉原先的包
  • 重新安装 yum install openssh-server
  • 输入启动命令:service sshd start
  • 查询状态命令:service sshd status
发布了48 篇原创文章 · 获赞 0 · 访问量 354

猜你喜欢

转载自blog.csdn.net/qq_21389693/article/details/105707504