mv /usr/lib/systemd/system/sshd.service /usr/lib/systemd/system/bak.sshd.service
chkconfig --list |grep ssh
service sshd restart
systemctl daemon-reload
service sshd restart
centos7.4 ssh连接时断时连解决
最新推荐文章于 2022-09-25 17:35:06 发布
mv /usr/lib/systemd/system/sshd.service /usr/lib/systemd/system/bak.sshd.service
chkconfig --list |grep ssh
service sshd restart
systemctl daemon-reload
service sshd restart