ssh public key fingerprint
First time post so I hope it's not too long winded!
I've just installed Centos v7.1 and created an additional user. First putty session I logged in with root and got the public fingerprint message and clicked Yes to accept. However I noted when I logged in with the user other I did not get the prompt and my home directory didn't have a .ssh directory. OK, so I created a .ssh (chmod 700) directory within /etc/skel and created a new user. Logged in with that account and still no prompt, although I do now have a .ssh directory generated. I've tried deleting the known_hosts files in the root's .ssh directory and restarting the sshd daemon but it's not working. How do I get it to prompt with original public key again? Thanks for reading. |
Welcome to LinuxQuestions
The known_hosts file is used by the client to identify the host therefore you need to delete the key on the windows PC. The keys are stored in the registry HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys. You should see the one that identifies the CentOS server. http://en.wikibooks.org/wiki/OpenSSH...guration_Files |
Goddamnnit, I assumed it was on the local machine but I was looking for .ssh within the file structure.
Thanks very much michaelk, all sorted! |
Your welcome.
You can mark the thread as solved via the thread tools pull down menu at the top of the page. |
All times are GMT -5. The time now is 12:07 AM. |