PDA

View Full Version : Broken SSH connection


rgibson711
24th October 2008, 03:36 AM
Using Fedora 9, and I am trying to connect to my Unbuntu server using SSH. I was able to connect to this server using SSH, but when I recreated the server I lost access from my primary account on FC9. I can access the server from my root account. From my primary account I get the message "Can't display Location "sftp://192.168.1.109" Host key verifcation failed".

If you you could help thanks.

Seve
24th October 2008, 03:44 AM
Hello:

Try renaming or removing your /home/username/.ssh directory and then try again.

Seve

rgibson711
24th October 2008, 06:44 PM

Thanks

Being new to Fedora I was not sure where these file were. In addition they were hidden in my normal view.

ibbo
27th October 2008, 04:10 PM
vi ~/.ssh/known_hosts

and remove the offending line.

known_hosts is basically a list of hosts/hash. When i plug a new machine into my network in normally get such an error as the hash does not reflect the last machine who was assigned the IP.

Ibbo