问题:
- 输入
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
问题:
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