PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sshd startet nicht



TimTaylor2000
26.03.04, 16:20
hallo ich habe folgendes problem beim start von sshd:

root@pinguin timtaylor # sshd
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
root@pinguin timtaylor #

wo krieg ich diese host key files her? mit ssh-keygen komm ich da irgednwie nicht weiter und unter man sshd steht auch nichts großartiges...und in der sagenumwobenen SUFU hab ich auch nichts gefunden....
weis jemadn was?

gruß
swen:ugly:

rabenkind
26.03.04, 23:35
hi


ssh-keygen -b 1280 -t dsa -N "" -C "kommentar" -f /etc/ssh/ssh_host_dsa_key


ssh-keygen -b 1280 -t rsa -N "" -C "kommentar" -f /etc/ssh/ssh_host_rsa_key


ssh-keygen -b 1280 -t rsa1 -N "" -C "kommentar" -f /etc/ssh/ssh_host_key

wer lesen kann ist ... steht alles in der manpage zu ssh-keygen
:mad: man

greetz rabenkind :))