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等第三方工具连接了

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-12-22
  • 2021-12-08
  • 2021-09-22
  • 2021-12-08
猜你喜欢
  • 2022-01-05
  • 2022-01-05
  • 2022-02-18
  • 2021-04-30
  • 2021-11-23
  • 2021-05-16
相关资源
相似解决方案