Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2014 17:44:27 -0400
From:      Kevin Phair <phair.kevin@gmail.com>
To:        Freebsd Questions <freebsd-questions@freebsd.org>
Subject:   Re: sshd broken after binary upgrade
Message-ID:  <5392363B.8090206@gmail.com>
In-Reply-To: <3BC6F354F757BCAAF379EC6C@localhost>
References:  <3BC6F354F757BCAAF379EC6C@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

On 6/6/14, 5:33 PM, Paul Schmehl wrote:
> I upgraded a server from 8.3 to 8.4, and now sshd is broken.  (The 
> other server upgraded fine.)  I used freebsd-update to upgrade to 8.4 
> RELEASE.
>
> Here's the errors I'm getting:
>
> # /etc/rc.d/sshd restart
> sshd not running? (check /var/run/sshd.pid).
> You already have an RSA host key in /etc/ssh/ssh_host_key
> Skipping protocol version 1 RSA Key Generation
> You already have a DSA host key in /etc/ssh/ssh_host_dsa_key
> Skipping protocol version 2 DSA Key Generation
> You already have an RSA host key in /etc/ssh/ssh_host_rsa_key
> Skipping protocol version 2 RSA Key Generation
> Auto configuration failed
> 58803:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing 
> equal 
> sign:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_def.c:366:line 
> 145
> Performing sanity check on sshd configuration.
> Auto configuration failed
> 58804:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing 
> equal 
> sign:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_def.c:366:line 
> 145
> /etc/rc.d/sshd: WARNING: failed precmd routine for sshd
>
> sshd_config looks fine.  I replaced /etc/rc.d/sshd with a copy from 
> the working server, so that's apparently not the problem. Not sure 
> what's missing.
>
> Any help would be appreciated.  I am connected to the server, but 
> obviously can't start a new session.
>
It sounds similar to what this person ran into: 
https://forums.freebsd.org/viewtopic.php?&t=36372

I've taken to telling freebsd-update to ignore /etc all together; the 
time spent fixing things I let freebsd-update break in /etc/ seemed to 
outmatch time required to make any config updates manually.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5392363B.8090206>