ubuntu 重启ssh服务

systemctl stop ssh.service

systemctl start ssh.service

systemctl restart ssh.service

 

#centos7

systemctl restart sshd.service

 

posted @ 2019-12-05 14:04  IT-Jack  阅读(4022)  评论(0编辑  收藏  举报