Upgrade to rel 7.0 broke SSH

Ivan Voras ivoras at freebsd.org
Wed Sep 24 10:15:04 UTC 2008

Olaf Courtney wrote:
> Hello and greetings from Newbyville,
> I recently upgraded from FreeBSD 6.3-RELEASE to 7.0-RELEASE-p4, and now SSH is broken.  Other important services (chiefly SAMBA) are working properly.  From the FreeBSD server I can successfull SSH and SFTP to the localhost (  I can also SSH and SFTP to other locations on the network.  However, I cannot SSH and SFTP into the FreeBSD server from the remote locations.
> Attempting to connect from a remote host returns "Connection closed by <ip address of server>".  The bottom portion of the debug output is shown below.
> SSH_CONFIG and SSHD_CONFIG files show that everything is set to defaults. Also, there is nothing that pertains to OPENSSH in /etc/src.conf and /etc/make.conf.  I saw one post that recommended going into the Kernel options.  On this system, there are no options in /boot/loader.conf and /etc/sysctl.conf.  I wouldn't know what to do with them anyways.
> The misc/compat6x libraries are installed as a bandaid.
> Here is the tail end of the output from ssh -vvv <server>:

> Connection closed by
> Any ideas?

Abrupt connection closing might be a symptom of the server process
crashing. Is tehre anything in /var/log/messages on the server at the
time this happens?

(for what it's worth, I've successfully upgraded from 6.3-R to 7-STABLE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080924/770ffbd3/signature.pgp

More information about the freebsd-questions mailing list