Ssh not enabling after imaging 10.8+

tkimpton
Valued Contributor II

Hi guys

Anyone else notice that on 10.8+ after imaging ssh aka Remote Login isn't enabled even though the config and framework is set in the has to keep it managed?

6 REPLIES 6

tkimpton
Valued Contributor II

Bryan Vines found the same thing in this thread

http://themacadmin.com/?p=49

donmontalvo
Esteemed Contributor III

We saw some funkiness in setting up ACLs on SSH, but if no ACLs are used it seems to work fine.

Does this happen if you don't use ACLs? IOW, allow all users to SSH?

--
https://donmontalvo.com

tkimpton
Valued Contributor II

To clarify:

I am not doing any scripting, I am trusting on jamf framework to make sure it is always managed.

Worked in 10.6.8

Yes I can script it with system setup but I'm reporting this bug to jamf

tkimpton
Valued Contributor II

Found out the problem. The systemsetup setremotelogin On is depreciated in 10.8

Instead launchd must be used. You actually can see this is terminal when trying to enable ssh on a vanilla box.

Casper Suite needs to do this after imaging as the systemsetup command will fail

launchctl load -w /System/Library/LaunchDaemons/sshd.plist

http://mobile.experts-exchange.com/Apple/Networking/Q_27388419.html

typeusernameher
New Contributor

I dont see the deprecation message on any of my 10.8 boxes. And I am seeing both "systemsetup setremotelogin ON" and "jamf startSSH" working just fine in my environment.

Also, that link is to a members only site.

antoinekinch
New Contributor III

I just noticed this happening today. Was there a certified fix?