1、通过OpenSSH服务器的启动脚本文件查看SSH服务状态

/etc/init.d/sshd status
1
在这里插入图片描述
2、使用Linux下的service命令查看SSH服务状态

service sshd status
1
在这里插入图片描述

Logo

更多推荐