Greetings 

I'm installing SSH2 2.0.13 on several RedHat 6.1 boxes. I copied
the binaries and configuration files from box to box, but I
assumed that it would be more secure to regenerate the hostkeys.
So, I used this command (which I pulled from the Makefile):

ssh-keygen2 -P -b 1024 -t dsa -c "1024-bit dsa hostkey" -o
/etc/ssh2/hostkey

Now when I try to connect from a client, it hangs and I receive
these messages in my log:

"FATAL ERROR: ssh_privkey_read failed from /etc/ssh2/hostkey
failed" 

Did I rebuild the hostkey files incorrectly? Is rebuilding the
hostkey a bad idea? Help!
---scott

Reply via email to