centos7 ssh 启动,关闭,开机启动,开启关闭
原创 ren_xian 发表于:2018-05-22 14:32:23
  阅读 :534   收藏   编辑
#启动
systemctl start sshd.service

#关闭
systemctl stop  sshd.service

#查看状态
systemctl status sshd.service

#开机启动
systemctl enable sshd
 
#开机关闭
systemctl disable  sshd