On Thu, Apr 19, 2001 at 12:40:14PM +0200, Maarten van den Berg wrote:
[replying to my own post]
I fixed it, though I'm not real sure how. After putting both keys back in the authorized_keys file and testing, without success, I suddenly realized that I had /home exported via NFS, and that there are serious warnings in [some] ssh docs I read a while ago about exporting homedirs. So, after turning off nfsd and deleting the entry from /etc/exports, RSA auth works fine again. But here is the weird part; to check if this was reproduceable I started the NFS server again with the original /etc/exports settings, but sshd still works fine...
Is this expected behaviour ? ssh + nfs weirdness ?
I have seen quit a lot of things but nothing like this. I might imagine problems when _importing_ the home directory via NFS, since root permissions are not available and sshd tends to run as root (therefore sshd changes permissions during access to the $HOME/.ssh directory). I however cannot imagine in which way the NFS _export_ of your home directory should influence the way sshd works locally. (That doesn't mean I say that I don't believe you. I just say that it is not logical and there must be a better explanation. It just doesn't make sense.) [This does not cover the security implications of using NFS, that's another topic.] Best regards, Lutz -- Lutz Jaenicke Lutz.Jaenicke@aet.TU-Cottbus.DE BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/ Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129 Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153