openssl help

I ungraded my openssl on sun solaris 8 from openssl 0.9.6c to openssl 0.9.6g the ungrade went
fine but when I tried to ssh in to server, I received the following error message
"ld.so.1: ./sshd: fatal: relocation error: file /usr/local/ssl/lib/libcrypto.so.0.9.6: symbol main: referenced symbol not found
Killed"

I am unable to restart ssh daemon on server.

Can you help please?

Hi there

I think you may need to regenerate your SSH keys - in my version I do :

/usr/local/bin/ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
/usr/local/bin/ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N ""
/usr/local/bin/ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N ""

This will ask if you want to overwrite your keys - say yes, then restart sshd. Should resolve your new ssl installation. If this doesn't work then get back to me.....

./B
:confused:

Thanks Brett,

I tried your suggestions but am Still getting the
same error message.

when I tried to regenerate the ssh key, I received
the following error message:

/usr/local/bin/ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
ld.so.1: /usr/local/bin/ssh-keygen: fatal: relocation error: file /usr/local/ssl/lib/libcrypto.so.0.9.6: symbol main: referenced symbol not found
Killed

Any other suggestions will be appreciated

Thanks