当前位置:首页 > 千层云服务器 > 正文

centos7如何查看ssh服务状态

centos7中查看ssh服务状态的方法:1、打开centos7终端;2、在centos7终端命令行中输入“systemctl status sshd.service”命令查看ssh服务状态即可。

centos7如何查看ssh服务状态

具体操作步骤:

1、在centos7系统桌面中使用快捷键【Ctrl+Alt+T】打开centos7终端命令行模式。

2、在centos7终端命令行中输入以下命令查看ssh服务状态即可。

systemctl status sshd.service #查看ssh服务状态

相关操作命令:

systemctl restart sshd.service #重启ssh服务

systemctl start sshd.service #开启ssh服务

systemctl enable sshd.service #设置ssh服务开机自启

如果您对该产品感兴趣,请填写办理(客服微信:xiaoxiongyidong)

为您推荐:

发表评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

在线客服