Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can i enable the ssh service in the single user mode?

I know how to do it in Terminal:

systemsetup -setremotelogin on

How can i do it in the single user mode? And if i reboot the system that it's still activated? I tried this: Enable SSH on a Mac in single user mode But it didn't work. I tried:

/sbin/fsck -fy
/sbin/mount -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
systemsetup -setremotelogin on

Then it say's something like: connection invalidated. I'l check on that right after i post this.

So can please anyone explain to me how can i enable/activate ssh via the single user mode

share|improve this question
    
It say's: 2013-10-12 01:25:08.366 systemsetup[13:1703]Connection with distnoted server was invalidated NEWLINE 2013-10-12 01:25:38.720 systemsetup[13:707] Cannot call DServiceEnabled:enabled without first being authenticated –  Leonard Schuetz Oct 11 '13 at 23:33
    
still no answer? –  Leonard Schuetz Oct 29 '13 at 19:59
    
guys... why does nobody know that? –  Leonard Schuetz Nov 26 '13 at 1:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.