Hi,
I'm trying to configure ssh to log in without any password on the same sun unix box. Assuming the box name is : infodev and the OS user is : informat, the following line should work without prompting for the password but it is not.
infodev:/apps/informatica/
.ssh> ssh -v infodev date
Below is the output of the above command:
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Connecting to infodev [129.202.27.241] port 22.
debug1: Connection established.
debug1: identity file /apps/informatica/.ssh/ide
ntity type -1
debug1: identity file /apps/informatica/.ssh/id_
rsa type -1
debug1: identity file /apps/informatica/.ssh/id_
dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8p1
debug1: match: OpenSSH_3.8p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUES
T(1024<102
4<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'infodev' is known and matches the RSA host key.
debug1: Found key in /apps/informatica/.ssh/kno
wn_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboar
d-interact
ive
debug1: Next authentication method: publickey
debug1: Trying private key: /apps/informatica/.ssh/ide
ntity
debug1: Trying private key: /apps/informatica/.ssh/id_
rsa
debug1: Offering public key: /apps/informatica/.ssh/id_
dsa
debug1: Authentications that can continue: publickey,password,keyboar
d-interact
ive
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboar
d-interact
e
debug1: Next authentication method: password
informat@infodev's password:
Any help on this is greatly appreciated. The permissions of .ssh directory and authorized_keys file are set as below:
-rwxrwxr-x 1 informat users 605 May 11 11:13 authorized_keys*
Thanks,
sathiyakum.
Start Free Trial