Hardening sever coincashew, Verify the login still works?


ssh cardano@server.public.ip.address

error msg:

The authenticity of host ‘ip addr (ip addr)’ can’t be established.
ECDSA key fingerprint is SHA256:7+5X5YqdGE06R+UhcUSUrBVah6ZZOvpat8iwZJZKDZc.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘ip addr’ (ECDSA) to the list of known hosts.
cardano@ip addr: Permission denied (publickey).

why permission denied (publickey).

Best regards,

keys missmatch or wrong configuration

1 Like

Solution 1: Enable Password Authentication, did resolve the issue. How ever, the guide on Coincashew (hardening server) says that i should disable passwordauthentication. It did work on my other server following the guide.

What do you think about that ?

Best regards,

but, you are using password or public/private keys?

I made the public key: ssh-keygen -t ed25519

The key text files is in the /home directory.

ssh-copy-id -i $HOME/.ssh/< keyname>.pub cardano@server.public.ip.address

Should i remove the “arrow” < > signs on the command above, or is it not nessecary?

Best regards,

Is it a risk , if i leave the passwordauthentication yes, instead of no ? I cant find any other solution for the moment.

best regards,

nope, as long you set a strong password should be fine… but if you want to set publick keys there are tutorials and videos on yt in case coincashew guide its not working… but it should work.