Passwordless SSH

Predrag Punosevac predragp at cs.cmu.edu
Thu Aug 13 12:48:19 EDT 2015


Fixed!!! Now it works as expected. The culprit was default SELinux
policy on RHEL 7.1

setsebool -P use_nfs_home_dirs on

did the magic. 

Predrag


Predrag Punosevac <predragp at cs.cmu.edu> wrote:
> Ankit Laddha <aladdha at andrew.cmu.edu> wrote:
> 
> > Hi
> > 
> > I can log into lov3 and lov4 using SSH without password but not
> > ari/foxconn.
> > 
> 
> This is second or third report that passwordless login is not working on
> RHEL 7.1 (ari/foxconn) even though it works as expected on RHEL 6.7 and
> earlier. 
> 
> I looked more carefully into this in the past hour and it seems to me
> that RHEL is shipped with a buggy sshd_config file. I did little diff
> of the sshd_config file from ARI and my home desktop machine which runs
> the latest and greatest version of OpenSSH/OpenBSD. I also did diff of 
> sshd_config files from RHEL 6.7 and RHEL 7.1 and those two differ
> significantly as RHEL 6.7 is shipped with the 7 year old version of
> OpenSSH while RHEL is shipped with a year old version of OpenSSH. 
> 
> I could not find any obvious reasons. The culprit could be PAM module
> which is mandatory on RHEL but doesn't even exist on OpenBSD. 
> 
> I am sorry for this. The problem on the surface looks similar to this
> report
> 
> http://www.linuxquestions.org/questions/linux-software-2/passwordless-ssh-setup-not-working-any-ideas-559628/
> 
> However RHEL 7.1 is more or less Fedora 19 so that fix didn't work for
> me. If somebody stumbles upon a solution please e-mail me.
> 
> Predrag
> 
> > Thank You
> > 
> > -- 
> > Regards,
> > Ankit Laddha
> > MS in Robotics Student
> > Carnegie Mellon University



More information about the Autonlab-users mailing list