Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 09:44:52 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Dan Langille <dan@freebsddiary.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: OpenSSH 1.2.1 refusing incoming connections
Message-ID:  <20000117094452.A62078@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <200001170546.SAA29983@ducky.nz.freebsd.org>; from dan@freebsddiary.org on Mon, Jan 17, 2000 at 06:46:38PM %2B1300
References:  <200001170546.SAA29983@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 17, 2000 at 06:46:38PM +1300, Dan Langille wrote:
> I recently upgraded to OpenSSH 1.2.1 from OpenSSH 1.2.  Incoming 
> connections are being refused, even from localhost.
> 
> $ ssh -v localhost
> SSH Version OpenSSH-1.2.1, protocol version 1.5.
> Compiled with SSL.
> debug: Reading configuration data /usr/local/etc/ssh_config
> debug: ssh_connect: getuid 0 geteuid 0 anon 0
> debug: Connecting to localhost [127.0.0.1] port 22.
> debug: Allocated local port 1014.
> debug: Connection established.
> ssh_exchange_identification: read: No such file or directory
> debug: Calling cleanup 0x805359c(0x0)
> 
> I'm on FreeBSD 3.3-19991207-SNAP.  My first guess was 
> /etc/hosts.allow, but that contains "sshd : ALL : allow"
> 
> Any ideas?

When make a successful connection via SSH, the debug messages that
follow the "Connection established" message are,

  debug: Remote protocol version 1.5, remote software version OpenSSH-1.2
  debug: Waiting for server public key.
  debug: Received server public key (768 bits) and host key (1024 bits).

You would not have happened to have lost your server keys
(/usr/local/etc/ssh_host_key*) during the upgrade?
-- 
Crist J. Clark                           cjclark@home.com


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?20000117094452.A62078>