系统偏好设置->共享->远程连接
ssh服务开启
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
telnet服务开启
sudo launchctl load -w /System/Library/LaunchDaemons/telnet.plist
系统偏好设置->共享->远程连接
ssh服务开启
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
telnet服务开启
sudo launchctl load -w /System/Library/LaunchDaemons/telnet.plist