重启sshd服务
查看状态: systemctl status sshd.service 启动服务: systemctl start sshd.service 重启服务: systemctl restart sshd.service 开机自启: systemctl enable sshd.service sshd服务状态调整 systemctl status sshd 查看服务状态 systemctl start sshd 打开服务 systemctl stop sshd 关闭服务 systemctl restart sshd 重起服务 systemctl enable sshd 设定开机启动 systemctl disable sshd 设定开机不启动 systemctl reload sshd 重新加载配置文件 systemctl list-units 列出已开启服务当前状态
码字很辛苦,转载请注明来自NAERENET的《重启sshd服务》
2021-04-03 14:50:47