SSH Connection The authenticity of host can't be established. ECDSA key fingerprint is SHA256:—————————-

Asked by Praveen Kumar Selvam

Dear all,
I cant able to connect from one ip to another ip (same network connected)using ssh , without providing a password.
I have generated a ssh key
ssh-keygen -t rsa
After entering this command in terminal, it gives me private key and public of one system( for example: user1@user1)
After, I am giving a command
ssh-copy-id user2@user@

The authenticity of host ‘xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)’ can’t be established.
ECDSA key fingerprint is SHA256:—————————-
Are you sure you want to continue connecting (yes/no)?

I cant able to connect to user2@user2, I have some problem in my ssh_config files, my permission are getting denised or refused by user2@user2, whereever I try to connect from user1@user1

Kindly, please help me guys. Thank you in advance.

With Regards,
Praveen kumar System

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Praveen Kumar Selvam
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you generate the key pair?
How did you deploy your key?
What OS is the server side?
What OS is the client side?
Are both OSes updated OK?

Revision history for this message
Praveen Kumar Selvam (selvampk) said :
#2

I have generate the key using
ssh-keygen -t rsa
in /.ssh, the generated keys are located in /.ssh
Both server and client os is ubuntu 16.04

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Cool.

You may want to upgrade to Bionic (Ubuntu 18.04) soon as 16.04 is end of life (EOL) in April next year