no hostkeys solaris 10 sshd

por | 18 marzo, 2008
cat /var/svc/log/network-ssh\:default.log


Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key

cd /etc/ssh
ssh-keygen -d -f ssh_host_dsa_key -N ""
ssh-keygen -b 1024 -f ssh_host_rsa_key -t rsa -N ""