PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sshd konfigurieren



shadowghoul
09.02.05, 19:52
hi,

kurze frage:
wie sieht eine ssh_host_key/ssh_host_dsa_key/ssh_host_rsa_key normalerweise aus?

welche config-files brauch ich sonst so?wie sehn die aus?

google oder "man sshd" wollten mir das nicht verraten.

derRichard
09.02.05, 19:58
hallo!

ssh-keygen -t rsa1 -b 1024 -f /etc/ssh/ssh_host_key -N ''
ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N ''
ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N ''

//richard

shadowghoul
09.02.05, 20:01
danke für schnelle hilfe

shadowghoul
09.02.05, 20:34
aber irgentwie nimmt der das ich.
das keygen is erfolgreich,
aber der sshd befehl endet mit dem fehler:
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
sshd: no hostkeys available -- exiting.

???