After upgrading my FreeBSD 9.3 server to 9.3-RELEASE-p33, I noticed that I could no longer SSH into the server. When I tried regenerating the host keys, the DSA host key won't regenerate, and the following message shows up in /var/log/messages:
When I run
/usr/bin/ssh-keygen was definitely part of today's updates:
In case this was due to an incomplete upgrade from FreeBSD 9.2 last year, I tried reinstalling the OS using the 9.3 ISO and installing updates afterward. After those updates, SSH access was again broken with DSA key regeneration segfaulting.
Has anyone else run into this issue? Any ideas on how to fix it other than reinstalling 9.3 (since that does not work)? I suppose I could just install FreeBSD 10.1 because I have not run into this issue with those updates, which I just performed on some 10.1 hosts last week at the latest. I haven't performed any updates on any of my 9.3 hosts this year until today.
Code:
...kernel: pid 1245 (ssh-keygen), uid 0: exited on signal 11 (core dumped)
When I run
ssh-keygen -A
, I see:
Code:
ssh-keygen: generating new host keys: DSA Segmentation fault (core dumped)
/usr/bin/ssh-keygen was definitely part of today's updates:
Code:
% ls -l /usr/bin/ssh-keygen
-r-x-r-xr-x 1 root wheel 57824 Mar 8 12:27 /usr/bin/ssh-keygen
In case this was due to an incomplete upgrade from FreeBSD 9.2 last year, I tried reinstalling the OS using the 9.3 ISO and installing updates afterward. After those updates, SSH access was again broken with DSA key regeneration segfaulting.
Has anyone else run into this issue? Any ideas on how to fix it other than reinstalling 9.3 (since that does not work)? I suppose I could just install FreeBSD 10.1 because I have not run into this issue with those updates, which I just performed on some 10.1 hosts last week at the latest. I haven't performed any updates on any of my 9.3 hosts this year until today.