string(21) "{"docs":[],"count":0}" CentOS 7开启ssh服务进行远程管理 - 爱码网
xiykj

我们可以通过以下命令检查SSH服务有没有启动:

systemctl status sshd.service

通过上图我们可以看到ssh进程是处于活动状态


 

ssh进程的其它操作命令:

    • systemctl start sshd.service   #启动ssh服务
    • systemctl restart sshd.service         #重启ssh服务
    • systemctl enable sshd.service           #开机ssh自启
    • systemctl stop sshd.service   #关闭ssh服务

好了,现在可以通过secureCRT、xshell、putty等第三方工具连接了

分类:

技术点:

相关文章: