Re: [CentOS] ssh prompting for password

2010-11-18 Thread Devin Reade
bluethundr bluethu...@gmail.com wrote: [bluethu...@virtcent01:~]#ls -l .ssh/authorized_keys -rw--- 1 1001 1002 1597 Nov 15 12:02 .ssh/authorized_keys By any chance do you have a UID/GID mismatch between machines? I'm not convinced that it would result in the behavior matched, but the fact

Re: [CentOS] ssh prompting for password

2010-11-17 Thread Gordon Messmer
On 11/16/2010 06:19 PM, Kwan Lowe wrote: On Tue, Nov 16, 2010 at 9:14 PM, Stephen Harrisli...@spuddy.org wrote: Depends on the sshd_config; UsePrivilegeSeparation yes (which is normally the default) means that phase is run as the destination user and not as root. To clarify, the sshd

[CentOS] ssh prompting for password

2010-11-16 Thread bluethundr
hello list I have a network mounted home directory shared between all hosts on my network: [bluethu...@lcent03:~]#df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 140G 4.4G 128G 4% / /dev/sda1 99M 35M 60M 37%

Re: [CentOS] ssh prompting for password

2010-11-16 Thread John Kennedy
A few things to look for: Make sure .ssh and authorized_keys files are permissioned to 700 and 600 respectively. If they are wide open then ssh will skip them. Check /var/log/secure on both machines. That may give you a clue ssh with -vvv (or just -v) and see if you get errors. I just had the

Re: [CentOS] ssh prompting for password

2010-11-16 Thread m . roth
bluethundr wrote: hello list I have a network mounted home directory shared between all hosts on my network: snip So therefore my RSA key should already be in my authorized_keys on any host. However logging into the virtual network, I always get prompted for a password. just for the heck of

Re: [CentOS] ssh prompting for password

2010-11-16 Thread John Kennedy
On Tue, Nov 16, 2010 at 16:31, m.r...@5-cent.us wrote: bluethundr wrote: hello list I have a network mounted home directory shared between all hosts on my network: snip So therefore my RSA key should already be in my authorized_keys on any host. However logging into the virtual

Re: [CentOS] ssh prompting for password

2010-11-16 Thread Todd Denniston
bluethundr wrote, On 11/16/2010 04:05 PM: hello list I have a network mounted home directory shared between all hosts on my network: So therefore my RSA key should already be in my authorized_keys on any host. However logging into the virtual network, I always get prompted for a

Re: [CentOS] ssh prompting for password

2010-11-16 Thread Kwan Lowe
On Tue, Nov 16, 2010 at 4:05 PM, bluethundr bluethu...@gmail.com wrote: So therefore my RSA key should already be in my authorized_keys on any host. However logging into the virtual network, I always get prompted for a password. just for the heck of it, I scp'd the key over again to one of

Re: [CentOS] ssh prompting for password

2010-11-16 Thread Stephen Harris
On Tue, Nov 16, 2010 at 09:12:17PM -0500, Kwan Lowe wrote: When you first attempt to login, sshd is running as root. It needs to look at your NFS mounted home directory (which is often set for no root squash) to get the public key. But because it is no root squash, Depends on the sshd_config;

Re: [CentOS] ssh prompting for password

2010-11-16 Thread Kwan Lowe
On Tue, Nov 16, 2010 at 9:14 PM, Stephen Harris li...@spuddy.org wrote: On Tue, Nov 16, 2010 at 09:12:17PM -0500, Kwan Lowe wrote: When you first attempt to login, sshd is running as root. It needs to look at your NFS mounted home directory (which is often set for no root squash) to get the

Re: [CentOS] ssh prompting for password

2010-11-16 Thread Kwan Lowe
On Tue, Nov 16, 2010 at 9:14 PM, Stephen Harris li...@spuddy.org wrote: On Tue, Nov 16, 2010 at 09:12:17PM -0500, Kwan Lowe wrote: When you first attempt to login, sshd is running as root. It needs to look at your NFS mounted home directory (which is often set for no root squash) to get the