On Server A
ssh-keygen -t rsa
- Copy the contents of id_rsa.pub to ~/.ssh/authorized_keys of Server B.
ssh -i ~/.ssh/id_rsa ec2-user@private_ip_of_server_B
This is working fine with RSA key, but when I generate key using ed25519 then i get “Permission denied (publickey,gssapi-keyex,gssapi-with-mic)” error.
Is there something that I’am missing? Can someone help me with this.