OpenSSH/PuTTY/SSH使用

OpenSSH/PuTTY/SSH

常用SSH服务指令

① 启动SSH服务的命令

service sshd start

② 停止SSH服务的命令

service sshd stop

③ 重新启动SSH服务的命令

service sshd restart

④ 设置开机自动运行SSH服务

chkconfig –livel 35 sshd on

以我管理的服务器为例,若我连接这台服务器需要输入ssh ip地址 -l 我的用户名
如下图所示:

原文地址:https://www.cnblogs.com/wule/p/6554678.html