Cobraiti
asked on
OpenSSH Clearing RSA fingerprints ?
Hi,
I'm connecting from my windows box to a remove ubuntu box using putty - SSH session. When I first connect i get the putty alert about accepting the new server host key and also shows the RSA fingerprint. I've accept the key so everytime I make a ssh server it works without the prompt and I can login to the linux box
What I want to know is how do I delete this key on the server so when I use my pc to connect remotely the prompt comes up again. I've tried to delete the fingerprint id from known_hosts and restart the SSH server but I connected straight away Essentially I want to clear all entries on the server so my PC would be given a new key
The odd thing is even after I've delete all the entries from the Know_hosts file I can still connect via ssh to the server ? Shouldn't it record a new fingerprint ?
Hope this makes sense Your input would be most appreciated
I'm connecting from my windows box to a remove ubuntu box using putty - SSH session. When I first connect i get the putty alert about accepting the new server host key and also shows the RSA fingerprint. I've accept the key so everytime I make a ssh server it works without the prompt and I can login to the linux box
What I want to know is how do I delete this key on the server so when I use my pc to connect remotely the prompt comes up again. I've tried to delete the fingerprint id from known_hosts and restart the SSH server but I connected straight away Essentially I want to clear all entries on the server so my PC would be given a new key
The odd thing is even after I've delete all the entries from the Know_hosts file I can still connect via ssh to the server ? Shouldn't it record a new fingerprint ?
Hope this makes sense Your input would be most appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. That worked :)
If you connect from a windows putty client to a server, then you have to clean up on the windows putty client side
putty stores the fingerprints in the windows registry:
look at
HKEY_CURRENT_USER\Software
See also:
http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html