As any BSD system you should toggle off some options in your sshd_: sudo vim /etc/ssh/sshd_config UsePam yes # it will not be used ChallengeResponseAuthentication no PasswordAuthentication no kbdInteractiveAuthentication no
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
最后更新于3年前
这有帮助吗?