📜  重启 ssh 服务 mac - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:06.700000             🧑  作者: Mango

代码示例1
# stop it
sudo launchctl unload  /System/Library/LaunchDaemons/ssh.plist 
# start it
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist