kali 系统开机自启动ssh服务

开机自动启动ssh命令

sudo systemctl enable ssh

关闭开机自启动

sudo systemctl disable ssh

单次开启ssh

sudo systemctl start ssh

单次关闭ssh

sudo systemctl stop ssh

(完)


(完)