ssh prompting for password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hello list

I have a network mounted home directory shared between all hosts on my network:

[bluethundr@LCENT03:~]#df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      140G  4.4G  128G   4% /
/dev/sda1              99M   35M   60M  37% /boot
tmpfs                 1.6G     0  1.6G   0% /dev/shm
nas.summitnjhome.com:/mnt/nas
                      903G  265G  566G  32% /mnt/nas
nas2.summitnjhome.com:/mnt/store
                      1.4T  187G  1.1T  15% /mnt/store
nas2.summitnjhome.com:/mnt/home
                      903G   47G  784G   6% /home
none                  1.6G  136K  1.6G   1% /var/lib/xenstored

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 the virtual hosts:


[bluethundr@LCENT03:~]#scp .ssh/id_rsa.pub virt1:~
bluethundr@virt1's password:
id_rsa.pub
               100%  381     0.4KB/s   00:00

ssh'd in:

[bluethundr@LCENT03:~]#ssh virt1
bluethundr@virt1's password:
Last login: Tue Nov 16 15:57:24 2010 from 192.168.1.46

Searched for the key on the host I just ssh'd into:


[bluethundr@VIRTCENT01:~]#grep -f id_rsa.pub .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABI-FAKE-DATA-dgjIWxnyplIYKE5IQw9FY2+IVsYw==

As you can see, it's already there.. I then checked the modes on
authorized_keys:

[bluethundr@VIRTCENT01:~]#ls -l .ssh/authorized_keys
-rw------- 1 1001 1002 1597 Nov 15 12:02 .ssh/authorized_keys

And checked that I was using the same shared network mounted home
directory from the machine I just ssh'd in from:


[bluethundr@VIRTCENT01:~]#df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      9.1G  1.8G  6.9G  21% /
/dev/xvda1             99M   20M   75M  21% /boot
tmpfs                 129M     0  129M   0% /dev/shm
nas.summitnjhome.com:/mnt/nas
                      903G  265G  566G  32% /mnt/nas
nas2.summitnjhome.com:/mnt/store
                      1.4T  187G  1.1T  15% /mnt/store
nas2.summitnjhome.com:/mnt/home
                      903G   47G  784G   6% /home
[bluethundr@VIRTCENT01:~]#


Considering that this key is internal network only and doesn't have a
passphrase set (it does not traverse internet boundaries) why on earth
am I being prompted for a password whenever I ssh into this machine?

thanks!
-- 
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux