使用SSH工具连接CentOS 7

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

systemctl status sshd.service

使用SSH工具连接CentOS 7

通过上图我们可以看到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等第三方工具连接了

使用SSH工具连接CentOS 7

上一篇:fastjson反序列化LocalDateTime失败的问题java.time.format.DateTimeParseException: Text '2019-05-24 13:52:1


下一篇:JDK1.8新增