Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having an issue with my Mac where it's freezing on the initial login.

How can I enable ssh without using going into system preferences, etc.

share|improve this question

1 Answer

up vote 6 down vote accepted

systemsetup -setremotelogin on

I got this from the templates in Apple Remote Desktop.

share|improve this answer
3  
Of course you have to login to run this in a terminal. If you can't even get that far you can boot to single-user mode by holding Apple-S. From there you should be able to mount your root partition (directions are given on the console when you start single-user mode) and run the systemsetup command. – Cocoabean May 24 '11 at 21:10

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.