dimanche 13 décembre 2009

Netbsd "sshd failed to read the dsa_key..."

Just to notice this, from fresh install netbsd, sshd need 3 key to start. So you use ssh-keygen -t rsa1 and just 2 file are stored in /root/.ssh...not in right directory.
Resolve this problem with this :

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

Aucun commentaire:

Enregistrer un commentaire

Enregistrer un commentaire