SSH problem Host key authentication failure

Mike Burger mburger at bubbanfriends.org
Wed Aug 11 11:54:13 UTC 2004


This is normal...if you didn't keep the contents of your /etc/ssh 
directory around, then, upon installation, OpenSSH recreated all its keys.

On the client machine(s), go into the .ssh directories for any users which 
are/were doing these automated processes.  Edit their .known_hosts files, 
and remove the entries for the server in question.

Then, as those users, manually connect to the server, anew, and accept the 
new key.  Your scripts should start working again.

On Wed, 11 Aug 2004, Nitin wrote:

> Hi,
> 
> Since I installed 1 of my server afresh, I'm getting this problem while trying to SSH to the remote machine from within a script. Same script was working fine earlier. I can SSH from the prompt but from within the script it gives this error:
> 
> Host key authentication failure

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of: 

subscribe





More information about the redhat-list mailing list