On 31 Aug 22:17, Chris G wrote:
I don't believe I am, not entirely. If I am talking rubbish then why do I have entries in my ~/.ssh/authorized_keys file which relate to specific remote clients? Each one of the entries in authorized_keys is for a specific remote host that I connect from.
I don't know of anyone that uses authorized_keys that way, and if you are talking of the bit after the key in authorized_keys, then I hope you understand that that is just a comment (the username@host) thing is purely a comment and is totally ignored, if you want to check this, then please feel free to edit one of them and change it to "oh_dear_is_this_really_just_a_comment".
You can connect with ssh using *password* authentication from anywhere but using public key authentication I think ssh needs to verify that the client is the host expected.
*If* the hostname is the same, and *if* this was the problem, then it prompts with a *completely* different message. And, infact, tells you about StrictHostKey checking.
Cheers,