Re: SSH ERROR: Failed to add the host to the list of known hosts

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Quoted text here. Click to load it

[snip description of security on known_hosts file.]

Well, I think the most secure thing to do would be to have root populate
the known_hosts file with the host keys of all machines that the admin
user should be accessing.  It shouldn't take long, and it'll make sure
that the host is correct.  You'll have to update that if host keys are

Another thing to do is just to use another user hostkey file that's not
owned by root.  In fact the user can probably do this today...

ssh -o UserKnownHostFile=/tmp/my_known_hosts ...

Darren Dunham                                 
Senior Technical Consultant         TAOS   /
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

Site Timeline