Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 10:57:49 +1000
From:      "Rob B" <rbyrnes@ozemail.com.au>
To:        <dan@slightlystrange.org>, <questions@freebsd.org>
Subject:   Re: ssh problems
Message-ID:  <00cb01c268e5$912adca0$3164a8c0@pootah>
References:  <000501c25a5b$44c54d20$3164a8c0@number6.loop.bpa.nu> <20020912132443.GA28699@catflap.home.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Daniel Bye" <dan@slightlystrange.org>
To: <questions@freebsd.org>
Sent: Thursday, September 12, 2002 11:24 PM
Subject: Re: ssh problems


> On Thu, Sep 12, 2002 at 10:52:34PM +1000, Rob B wrote:
> > These two machines are on a private LAN.  Going from one to the other
works
> > fine, but not the other way round.
<snip>
> > erwin:~$ ssh doormat
> > The authenticity of host 'doormat (192.168.100.1)' can't be established.
> > DSA key fingerprint is c9:5d:b6:f5:d6:ab:6a:58:75:5f:d9:a7:c1:6f:be:00.
> > Are you sure you want to continue connecting (yes/no)? yes
> > Warning: Permanently added 'doormat' (DSA) to the list of known hosts.
> > key_verify failed for server_host_key

>
> Try running ssh with the flags "-v -v" to get more verbose diagnostics.
> You may well see what is failing, where, when and why.

<snip>
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'doormat.number6.loop.bpa.nu' is known and matches the DSA host
key.
debug1: Found key in /home/loop/.ssh/known_hosts:1
debug1: bits set: 1628/3191
debug1: ssh_dss_verify: signature incorrect
key_verify failed for server_host_key
debug1: Calling cleanup 0x12002ad20(0x0)
erwin:~$

I'm wondering if erwin's keys are the ones with the problem, and it's
doormat sending the error

> Just as a thought, though, is doormat's server_host_key in the right
place,
> with the correct permissions?

[root@doormat]/root: ls -la /etc/ssh/
total 136
drwxr-xr-x   2 root  wheel    512 Jul 29  2002 .
drwxr-xr-x  16 root  wheel   2048 Sep 16 09:13 ..
-rw-r--r--   1 root  wheel  88110 Jul 29  2002 moduli
-rw-r--r--   1 root  wheel  26346 Jun 15  2002 primes
-rw-r--r--   1 root  wheel   1233 Jul 29  2002 ssh_config
-rw-------   1 root  wheel    668 Jul 27  2002 ssh_host_dsa_key
-rw-r--r--   1 root  wheel    612 Jul 27  2002 ssh_host_dsa_key.pub
-rw-------   1 root  wheel    537 Jul 27  2002 ssh_host_key
-rw-r--r--   1 root  wheel    341 Jul 27  2002 ssh_host_key.pub
-rw-------   1 root  wheel    883 Jul 29  2002 ssh_host_rsa_key
-rw-r--r--   1 root  wheel    234 Jul 29  2002 ssh_host_rsa_key.pub
-rw-r--r--   1 root  wheel   2414 Jul 29  2002 sshd_config

I have regenerated the keys on doormat, still getting the same error


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00cb01c268e5$912adca0$3164a8c0>