SSH into remote Mac during 2nd phase of image deployment.

FritzsCorner
Contributor III

We recently upgraded our JSS servers from 9.22 to 9.31 and I have noticed that we are no longer able to SSH into a remote Mac that is in the 2nd phase of an image deployment. (The JAMF Splash screen saying the installation is being completed)

Before we updated we would be able to SSH into the Mac using the JAMF management account once it had completed enrollment with the JSS. This gave us the benefit of getting a realtime look at the Jamf.log (tail -F /var/log/jamf.log) and other running system services to assist with troubleshooting deployment issues. Now that we have updated to 9.31 we are no longer able to do this. I just get an error saying remote host refused the connection. I can see in the JSS that the systems are enrolled and the management account is enabled but no luck with accessing the remote terminal via SSH. Once the image process has finished and reboots we are then able to SSH into the remote Mac, but that does not help with build troubleshooting.

Anyone else have this issue?

5 REPLIES 5

calum_rmit
New Contributor III

perhaps have a first boot package/script that ensures remote login is enabled and have this run as the first item to run in the first boot policy

pbenham
Contributor

I have also noticed this issue. I added a first boot script to turn on ssh and add the admin group, but I still can't ssh into a box whilst it's at the "Casper is finishing imaging" splash screen.
Any other ideas?

FritzsCorner
Contributor III

I will go ahead and try adding it to the first boot script as well but if it didn't work for @pbenham I don't think I will have any better luck. I have opened a support case with JAMF and they were looking into it. I will post back when I hear back from them.

cstout
Contributor III
Contributor III

Please do share what support replies with. I'm curious to know what changed. On an unrelated note, be glad your splash screens are working. 9.31 broke that part of imaging for me. Still working with support on that one.

FritzsCorner
Contributor III

It's funny you mentioned the splash screen. For all the Macs I have imaged it has worked just fine, but a co-worker of mine in another state imaged up a Mac Mini and didn't get the splash screen. I told him to verify that the jamf.log file was being updated and sure enough it was.. he just let it sit and the build finished.