Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-21-2006, 09:20 PM   #1
LQ Newbie
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
SSHD could not load host key

I am using Ubuntu, and I used apt-get to install ssh and openssh-server. When I try to run /usr/sbin/sshd it says it could not load host key. It gives me a problem with sshd_host_key. It is the only file I don't have. I tried to turn it off, but apparently I am not commenting and changing the correct lines in my sshd_config to turn it off. Does anyone know how to turn RSA keys off?
Old 11-21-2006, 09:46 PM   #2
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 478

Rep: Reputation: 30
Just make a few keys and put them into /etc/ssh

from what I remember, it's ssh-keygen -b 1024 -t rsa and then it will ask where to save, save it in /etc/ssh/ and you should be good to go
Old 04-30-2009, 12:03 PM   #3
LQ Newbie
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
I have the same problems using Arch.
When that command asks me where to save and I tell it "/etc/ssh/" it tells me, file already exists, do you want to overwrite?

So far I selected no, because I am not 100% sure if this is what I want to do.

Please advise.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh Host Key ziox Linux - Networking 6 02-07-2005 03:57 PM
OpenSSH Host Key Verification Failed GodSendDeath Linux - Software 12 01-21-2005 01:28 PM
sshd - host key jamna17 *BSD 3 06-16-2004 09:20 AM
SSH rejects my host key for version 2 only. Travis86 Linux - Networking 19 08-08-2003 04:48 AM
sshd won't read my host key Travis86 Linux - Networking 0 07-30-2003 11:48 AM

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration