|
From: Eli H. <el...@se...> - 2007-11-03 05:02:49
|
On Friday 02 November 2007 06:10:55 pm victor nikiforenko wrote: > Hi Eli > > When i typing i make a mistake: > > Starting SSHD: Could not load host key: > > /etc/ssh/ssh_rsa_key > > realy is /etc/ssh/ssh_host_rsa_key and the error is > because whe i do it whit my personalized key i use > other name and thank you i can see the error > "> AuthorizedKeysFile /etc/ssh/ssh_host_rsa_key" > but i continue whit the problem when i conect from ha > remote host i can in whitout a public key. > > Thank a lot for your help > > Vitor Arango Nikiforenko > Victor, The "Could not load private key" error you mentioned would be caused by: - bad permissions on the private key file (should be owned by root and chmod 0600) - no key file - key has a passphrase (see below) When you used the 'ssh-keygen' command, were you intending to create a new server host key or a new client key? I suspect what happened is that you created a new server key file with a passphrase. Is this correct? If this is what happened, you need to create a new ssh_host_rsa_key without a passphrase. *IF* you think this is correct, runnig this command on your DL box will fix it: ssh-keygen -t rsa -f /etc/ssh/sshd_host_rsa_key -N "" -eli |