On Mon, Apr 12, 2004 at 12:01:57PM +0200, Hans du Plooy wrote:
On Monday 12 April 2004 05:48, ellie philippen wrote:
Two 9.0 pc's. Both ping each other. Ssh a to b - ok. Ssh b to a - No. B reports the following:
ssh a @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
It means something has changed so that the IP isn't linked to the same identification on the machine that you can't ssh to. Suppose you reinstalled, replaced the network card or something.
Or you have dhcp handing out addresses. In which case you might, from time to time, get a different ip-adress for some host, than the one the other hosts know about.
On the machine that you're trying to ssh from, cd into your .ssh directory, and edit the file known_hosts In it you'll see a line for each remote IP that you access (the lines wrap quite a few times on my screen).
Which means that you have to make sure that whatever editor you use to edit known_hosts with, does *not* apply wordwrapping (!)
Delete the line with the offending IP - all should be well....
Or comment it out, which achieves the same, except you have the old key on hand if the ip-address changes back... /Jon -- Whatever rocks your boat!