redhat5.8配置SSH遇到 Permission denied
[grid@racnode1 ~]$ /usr/bin/ssh racnode1 date
Warning: Permanently added 'racnode1,192.168.114.115' (RSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-with-mic,password).
[grid@racnode1 ~]$
[grid@racnode1 ~]$ ssh -v racnode1 date
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to racnode1 [192.168.114.115] port 22.
debug1: Connection established.
debug1: identity file /home/grid/.ssh/identity type -1
debug1: identity file /home/grid/.ssh/id_rsa type 1
debug1: identity file /home/grid/.ssh/id_dsa type 2
具体错误如下:
[grid@racnode1 ~]$ /usr/bin/ssh racnode1 date
Warning: Permanently added 'racnode1,192.168.114.115' (RSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-with-mic,password).
[grid@racnode1 ~]$
具体debug检查
[grid@racnode1 ~]$ ssh -v racnode1 date
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to racnode1 [192.168.114.115] port 22.
debug1: Connection established.
debug1: identity file /home/grid/.ssh/identity type -1
debug1: identity file /home/grid/.ssh/id_rsa type 1
debug1: identity file /home/grid/.ssh/id_dsa type 2