I have an iMac that I can access only in single user mode, because of serious hardware damage. I attached to it another computer with an Ethernet cable. I would like to login remotely to the iMac through SSH. The iMac is running OS X 10.6.4.
I came across similar answers but what I tried always failed.
systemsetup -setremotelogin on and it returns the following error message:
systemsetup[63:903] setInetDServiceEnabled failed for ssh because authorizationRef is NULL!
launchctl load -w /System/Library/LaunchDaemons/ssh.plist gives:
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
What should I do?