SUMMARY: OpenSSH without Password



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • SSH RSYNC and Syslog Authentication Errors
    ... I am using rsync over ssh to backup my web server. ... debug1: got SSH2_MSG_SERVICE_ACCEPT ... debug3: authmethod_lookup publickey ...
    (SSH)
  • Re: Allways prompted for a password
    ... My server is Red Hat ... > Here is the output from a ssh -v -l username servername from my cygwin ... > debug1: Rhosts Authentication disabled, ... on the machine running SSH server you have to allow publickey authorization ...
    (comp.security.ssh)
  • ssh: problem with publickey authentication
    ... I have trouble getting ssh with publickey authentication to work. ... debug1: Connection established. ...
    (SSH)
  • Re: ssh for beginners?
    ... thus spake David Chapman: ... next auth method to try is publickey ... > debug1: next auth method to try is keyboard-interactive ...
    (comp.security.ssh)
  • Re: OpenSSH_3.5p1 public key authentication fails
    ... > debug1: Connection established. ... next auth method to try is publickey ... > debug2: we sent a publickey packet, ...
    (comp.security.ssh)