I got the following error message after I followed step by step this document(by the way great document) and I fixed creating the key rsa1 as follows:
# /etc/init.d/sshd start
starting SSHD daemon
Could not load host key: /usr/local/etc/ssh_host_key
# Disabling protocol version 1. Could not load host key
/var/empty must be owned by root and not group or world-writable.
fix:
Run the fol
# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
Generating public/private rsa1 key pair.
Your identification has been saved in /usr/local/etc/ssh_host_key.
Your public key has been saved in /usr/local/etc/ssh_host_key.pub.
The key fingerprint is:
cc:a2:71:07:20:2c:07:dd:a4:ef:a2:05:6d:04:87:96 root@dfm-quickview-svr
Also, I changed the ownership and permission of /var/empty as follows:
# chown root:sys empty
# chmod 755 empty
then I start ssh daemon and it is working now
# /etc/init.d/sshd start
starting SSHD daemon
Thank you,
Raquel C.
|
UNIXguide.net
English to Cebuano Dictionary |
Suggest a Site
Cebuano to English Dictionary |