Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I'm trying to login remotely using SSH, it asks something like:

The authenticity of host ' (' can't be established.
ECDSA key fingerprint is 64:ec:a0:fa:bf:f0:65:a6:b2:af:90:f2:97:44:e4:3f.
Are you sure you want to continue connecting (yes/no)?

What is that, and what can I do?

share|improve this question

ssh deals with the log in credentials and the public key for providing access.

the public key is saved in ~/.ssh/known_hosts file on local machine.

@Nani, what you are getting on the prompt is "you are being asked to save the public key on your local machine."

You need to answer yes, so that the key is saved and it will not ask you again. (Unless the public key of remote machine is changed.)

If public key of the remote machine is changed, you have to remove the previously saved key from the ~/.ssh/known_hosts

share|improve this answer
@Sourav, /root/.. and ~/.. both are same. – GC 13 Oct 31 '13 at 12:11

That is just public key is saved in ~/.ssh/known_hosts file on local machine.

Go ahead, type yes, next it will ask for password of

Now you are connected to and can access

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.