操作ssh
1.启动ssh
:systemctl start ssh
2.停止ssh
:systemctl stop ssh
3.重启ssh
:systemctl restart ssh
4.设置开机启动:systemctl enable ssh
操作ssh
1.启动ssh
:systemctl start ssh
2.停止ssh
:systemctl stop ssh
3.重启ssh
:systemctl restart ssh
4.设置开机启动:systemctl enable ssh