For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 7 > Passwordless SSH On NFS Home Dirs

Passwordless SSH On NFS Home Dirs

Created by dave. Last edited by dave, 266 days ago. Viewed 328 times. #1
[edit] [rdf]


Can't use passwordless ssh to a target system.


In this particular case, I have:

  • a home directory on nfs
  • selinux enabled
In this combination, the sshd process can't read the private key in the user's home directory.

There are a couple options here:

  • turn off selinux; or
# setsebool -P use_nfs_home_dirs 1

Although the first option makes lots of things easier in the short run, in the long run I think we need to get to grips with selinux (or be prepared for it to be replaced by something else (that systemd will undoubtedly do)) even though there are serious problems with selinux as it stands today.


no comments | post comment

Virtual Dave Megaplex:

Internet Explorer 6 Users >>Click Here

(read this note about local search)

Logged in Users: (0)
… and 17 Guests.

Editing: snipsnap-help, Image Macro

(Et auditum est, et idcirco ego nunc simulare)

Installed 7 years and 7 days ago
Powered By >>SnipSnap Version 1.0b1-uttoxeter

This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt