SUMMARY: OpenSSH without Password

From: Bhavesh Shah <shah.bhavesh_at_gene.com>
Date: Thu Aug 31 2006 - 14:12:51 EDT
Thanks to all for thier reply. Many Thanks to Christopher L. Barnard  
for suggesting me to run sshd server in debug mode.
The issue was Home direcotry persmission which set incorrectly somehow 
(770). Changed it to 700 resolved the issue

Thanks once again.

My post was:

>  
>
>>Hi Gurus,
>>I am running OpenSSH_4.3p2, OpenSSL 0.9.8b on Solaris 9. It works fine
>>except without password as root from another host. That too was working
>>before changed the hostname. I re-created keys after changing the
>>hostname but it still doesn't work. I have bunch of other boxes with the
>>same version and that works without any problem. I can SSH without
>>password to these boxes no problem but this one doesn't.
>>I copied id_rsa.pub from cleint's box to test's box in
>>/root/.ssh/authorized_keys the smae thing i did o other boxes with the
>>same version works great.
>>
>>
>>Here is the output:
>>
>>ssh -v tester
>>.
>>.
>>.
>>debug1: next auth method to try is publickey
>>debug1: key does not exist: /root/.ssh/identity
>>debug1: try pubkey: /root/.ssh/id_rsa
>>debug1: read SSH2 private key done: name rsa w/o comment success 1
>>debug1: authentications that can continue:
>>publickey,password,keyboard-interactive
>>debug1: next auth method to try is publickey
>>debug1: key does not exist: /root/.ssh/id_dsa
>>debug1: next auth method to try is password
>>root@tester's password:
>>
>>
>>cd /usr/local/etc/
>>bash-2.05# ls
>>moduli                ssh_host_dsa_key      ssh_host_rsa_key
>>printcap              ssh_host_dsa_key.pub  ssh_host_rsa_key.pub
>>ssh_config            ssh_host_key
>>sshd_config           ssh_host_key.pub
>>
>>cd /root/.ssh/
>>ls
>>authorized_keys  id_rsa           id_rsa.pub       known_hosts
>>
>>Any help is greatly appreciated.
>>TIA
>>shahb
>>_______________________________________________
>>sunmanagers mailing list
>>sunmanagers@sunmanagers.org
>>http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Aug 31 14:13:25 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:00 EST