I am new to SSH and trying to setup a SSH server and got it up and running, but have a problem with authentication.
I am SSHing in to localhost ('ssh localhost') and get:
I don't think I should be getting this because I have copied '/etc/ssh/ssh_host_ecdsa_key.pub' into '~/.ssh/'.The authenticity of host 'localhost (::1)' can't be established.
ECDSA key fingerprint is 10:0d:c7:11:2f:b0:8f:31:e1:7a:48:b8:6e:21:93:b8.
Are you sure you want to continue connecting (yes/no)?
Does anyone know why my client cannot authenticate the host?