SUMMARY: OpenSSH without Password
- From: Bhavesh Shah <shah.bhavesh@xxxxxxxx>
- Date: Thu, 31 Aug 2006 11:12:51 -0700
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
- References:
- OpenSSH without Password
- From: Bhavesh Shah
- OpenSSH without Password
- Prev by Date: cpu cache
- Next by Date: RE: MAC to device path
- Previous by thread: OpenSSH without Password
- Next by thread: [SUMMARY] [T2000]: switching from ipge(7D) to e1000g(7D) - [dladm(1M)]
- Index(es):
Relevant Pages
|
|