I use RSYNC over SSH & launchagents to keep my Casper distribution points in sync with the Master.
However on upgrading the master to 10.8.2, the SSH connection would error with the message:
“Permission denied > (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive)”
I re-ran through the steps i’d used previously.. reached out to JAMF support, JAMFNation & the MacEnterprise Mailing List.. still no joy..
So, it then started to think that maybe the change in OS for the master meant a change in method.. after Googling “mountain lion authorized_keys” I came across the below blog, with revealed the answer!
From the site:
SATURDAY, AUGUST 4, 2012
Password-Free SSH on OS X Mountain LionI had set up my home network with password-free ssh access between various Mac computers. But when I recently upgraded to OS X Mountain Lion, this stopped working.
/etc/sshd_configis modified during Mountain Lion installation. The following line gets unchecked:
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 # but this is overridden so installations will only check .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys
Once I had renamed
~/.ssh/authorized_keyson my Mountain Lion computers, everything worked fine again.
5 thoughts on “Error: “Permission denied > (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive)” on Mountain Lion (10.8)”
Nice post! Ever thought of using CCC to do your syncs?
The requirements are that the sync needs to be done out of hours… So I’ve used RSYNC over SSH to sync Saturday nights.
It also emails me the output, & I sync CasperShare, NetBoot & JSSBackups.. 🙂
Does CCC have a command line option?
Im pretty sure it can – http://help.bombich.com/kb/overview/release-history
Cool. I’ll have a nose.
Although it is nice to use the tools in the box!
I have been surfing on-line greater than three hours these
days, but I never discovered any interesting article like yours.
It’s lovely worth enough for me. In my opinion, if all website owners and bloggers made excellent content material as you did, the web shall be much more helpful than ever before.