9
3
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.
I tried systemsetup -setremotelogin on
and it returns the following error message:
systemsetup[63:903] setInetDServiceEnabled failed for ssh because authorizationRef is NULL!
While 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?
Can't assign requested address
sounds to me like it doesn't have any kind of network connection. I think in single-user mode you'd have to useifconfig
orifup
to turn enable networking. – Blacklight Shining – 2012-07-09T10:17:42.980@BlacklightShining thanks! I have little experience with these commands, I guess that with a Mac it would be more appropriate to use
networksetup
oripconfig
, however. Do you have an idea about what commands I should give in order for another computer to connect to the iMac via a single Ethernet cable? Or, in alternative, to connect the iMac to a wi-fi network protected with WPA2? – Ralphtor – 2012-07-09T11:44:51.130I'm not sure myself. You can get the manual page for almost any program with
man $program_name
, by the way. I'll take a look and see if I can come up with something for you to try… – Blacklight Shining – 2012-07-10T11:57:17.890