Skip navigation

SSH public key authentication to afp vs local home directory

397 Views 5 Replies Latest reply: Mar 7, 2013 12:48 PM by bonin RSS
bonin Calculating status...
Currently Being Moderated
Mar 6, 2013 6:14 PM

I am trying to build a cluster of 8 Mac minis with an iMac as a login/file server.

The iMac runs OS X Server and an OpenDirectory master.

 

A local/network user has been created with his home directory is on /User,

which is shared with AFP.

 

When computational nodes (the Mac minis) are connected to the OpenDirectory master on the iMac

and remote login is turned on, the user can login via ssh.

 

To make the cluster useful for MPI jobs, I need to allow password-less login to the computational nodes.

I created public/private key pair with

 

ssh-keygen -t rsa

 

without a password.

I copied id_rsa.pub to authorized_keys with a correct permission.

 

I should be able to login to a Mac mini, but sometimes I can't.

 

For a user using a local home directory on each machine,

I have no problem: the public key authentication works just fine.

 

I feel that this is a problem with AFP.

 

Any similar experiences? Workarouds?

iMac, OS X Server

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.