标签:mac ssh locahost connection refused
在Mac通过ssh localhost 拒绝访问的问题,可能是由于sshd服务未开启
1、开启sshd服务
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
2、查看ssh的服务是否开启sudo launchctl list |grep ssh
3、sudo ssh localhost连接本地localhost成功
Mac ssh locahost Connection refused
标签:mac ssh locahost connection refused
原文地址:http://blog.csdn.net/tianyiii/article/details/45462193