sshd broken after binary upgrade
Kevin Phair
phair.kevin at gmail.com
Fri Jun 6 21:44:29 UTC 2014
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.
More information about the freebsd-questions
mailing list