• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Setting up an SSH server - how do I get keys?

notfred

Lifer
getting this message:

Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/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.


What do I use for host keys?
 
Is the issue that those files don't exist, or that they can't be accessed by the user under whom sshd is running?
 
Originally posted by: notfred
getting this message:

Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/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.


What do I use for host keys?


You create them. Ssh-keygen is the magic word.
 
The sshd startscript for many OS's will do this automatically for you if you just run it with a start argument.
 
Back
Top