| jpeters  
 
 
 
 
 Group: Members
 Posts: 804
 Joined: April 2006
 | 
|  | Posted: Feb. 25 2008,02:40 |  |  
 | Quote (spanners @ Feb. 24 2008,13:13) |  | Hi All I'm using the DSL default OpenBSD SSH server and am having no luck getting my keys to work. I run the ssh-keygen application to create /etc/ssh/ssh_host_key, /etc/ssh/ssh_host_dsa_key and /etc/ssh/ssh_host_rsa_key and they are created with 600 permissions. However when start up sshd it then says it can't load the host keys, none are available and exits.
 If I change the key permissions to 644 (or anything that gives group or user access) then sshd sees they are there but claims they are too open and it won't use them.
 Please help!
 John
 | 
 If I try "etc/init.d/ssh start" I get the same message:
 
 Starting OpenBSD Secure Shell server: sshdCould 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.
 
 Nevertheless, it's working, and I can scp to/from other computers. Perms are root,root.
 |