[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (Mostly Solved) Re: How to get new RSA key in known_hosts file?



On 27/05/12 07:31, Dom wrote:
On 27/05/12 06:49, Marc Shapiro wrote:
Well, I can now connect without getting warnings, or errors. It is still
asking for my password and I can live with that for now. I will look
into authenticating without using passwords but, at least I can connect
now.


I'm guessing you were using shared keys?

If you have rebuilt your system, it's identity will have changed.

Firstly you can try copying the content of ~/.ssh/id_dsa.pub (or
id_rsa.pub, depending on which you use) onto the end of
~/.ssh/authorized_keys on the destination machine.

You might need to generate a new key (see ssh-keygen) first.

Duh! I should have checked the subject first. Of course you are using RSA.

--
Dom


Reply to: