在Mac上以单用户模式启用SSH
由于严重的硬件损坏,我有一台只能以单用户模式访问的iMac。我用以太网电缆将另一台计算机连接到它。我想通过SSH远程登录iMac。iMac运行的是OS X 10.6.4。 我遇到了类似的答案,但是我尝试的总是失败。 我尝试过systemsetup -setremotelogin on,它返回以下错误消息: systemsetup[63:903] setInetDServiceEnabled failed for ssh because authorizationRef is NULL! 虽然launchctl load -w /System/Library/LaunchDaemons/ssh.plist给出: DNSServiceRegister("ssh"): -65563 DNSServiceRegister("sftp-ssh"): -65563 bind(): Can't assign requested address launch_msg(): Socket is not connected launchctl: CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/com.apple.launchd/overrides.plist) failed: -10 我该怎么办?