我有一台 iMac,由于严重的硬件损坏,我只能在单用户模式下访问它。我用以太网电缆将另一台计算机连接到它。我想通过 SSH 远程登录 iMac。iMac 运行的是 OS X 10.6.4。
我遇到了类似的答案,但我尝试的总是失败。
我试过了systemsetup -setremotelogin on,它返回以下错误消息:
systemsetup[63:903] setInetDServiceEnabled failed for ssh because authorizationRef is NULL!
Run Code Online (Sandbox Code Playgroud)
虽然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
Run Code Online (Sandbox Code Playgroud)
我该怎么办?