Removing and reinstalling SSH
Posted on 2005-05-16
I’ve been trying to remotely connect via ssh with no password for a while now – I think ive managed to figured out how to do it now, but in the process of sorting it out I think ive removed things that I wasn’t supposed to.
Now when I connect from Comp1 to Comp2 ssh [ip address] I get this error message: Host key verification failed.
And when I connect from Comp2 to Comp1 ssh [ip address] I get this error message: ssh_exchange_identification: Connection closed by remote host.
I’ve removed everything out of the /~ssh directory on both machines.
I want to basically reinstall openssh and start again. What’s the best way around it? I’ve tried rpm –e opensshpackagename.rpm but it has a few dependencies such as
Im running Fedora Core 3.
What’s the best way of tackling the problem?