public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] how to get ssh host based authentication working?
@ 2006-07-30  2:56 John Blinka
  2006-07-30  5:15 ` gentuxx
  2006-07-30  8:06 ` Peter Ruskin
  0 siblings, 2 replies; 5+ messages in thread
From: John Blinka @ 2006-07-30  2:56 UTC (permalink / raw
  To: gentoo-user

Hi, folks,

I'd like to get host based ssh authentication working within
all the gentoo boxes on my home network.  I've had no
success yet - I hope someone can enlighten me!

What I've done so far on the server side is:

       set HostbasedAuthentication yes in sshd_config
       set HostbasedAuthentication yes in ssh_config
       added /etc/ssh/shosts.equiv containing names of client boxes
       added /etc/ssh/ssh_known_hosts containing public host keys of
client boxes

Client boxes are configured similarly.

When I try to ssh from one box to another, I always get a request
for a password, which is what I'm trying to avoid.

Below is an excerpt from an attempt to ssh from one box to another
while requesting the maximum amount of debugging info.  It looks
like ssh is trying to use host based authentication, but for some
reason it fails.  I'd appreciate any ideas about what might be
going wrong.

John Blinka




debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 5
debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 5
debug1: Host 'tobey' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:5
debug2: bits set: 469/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa (0x8095528)
debug2: key: /root/.ssh/id_dsa (0x80964c0)
debug1: Authentications that can continue:
publickey,keyboard-interactive,hostbased
debug3: start over, passed a different list
publickey,keyboard-interactive,hostbased
debug3: preferred hostbased,publickey,keyboard-interactive,password
debug3: authmethod_lookup hostbased
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled hostbased
debug1: Next authentication method: hostbased
debug2: userauth_hostbased: chost lotus.bluebar.org.
debug2: we sent a hostbased packet, wait for reply
debug1: Authentications that can continue:
publickey,keyboard-interactive,hostbased
debug2: userauth_hostbased: chost lotus.bluebar.org.
debug2: we sent a hostbased packet, wait for reply
debug1: Authentications that can continue:
publickey,keyboard-interactive,hostbased
debug1: No more client hostkeys for hostbased authentication.
debug2: we did not send a packet, disable method

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-30 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30  2:56 [gentoo-user] how to get ssh host based authentication working? John Blinka
2006-07-30  5:15 ` gentuxx
2006-07-30  8:06 ` Peter Ruskin
2006-07-30 13:55   ` [gentoo-user] how to get ssh host based authentication working? [solved] John Blinka
2006-07-30 15:05     ` Randy Barlow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox