I'm running SSH 2.3 on an AIX 4.3.3 box. I want to change my private and
public keys, but when after I run the following command:
/usr/local/bin/ssh-keygen2 -b 1024 /etc/ssh2/hostkey
...I can't restart SSH. When I try to, I get the following error:
FATAL ERROR: ssh_privkey_read from /etc/ssh2/hostkey failed.
I looked in /etc/ssh2/sshd2_config file and the HostKeyFIle and
PublicHostKeyFile are configured as follows:
HostKeyFile hostkey
PublicHostKeyFile hostkey.pub
I tried putting a fully qualified path here as well and that didn't change
anything.
I used a backup to fix it - just so I could break it again - and when I
deleted a public key from the /.ssh2/knownhosts directory, the same error
occurred. What am I missing here, because I would really like to change
this key.
Rob.
winmail.dat