I have created a keypair for my ec2 instance. Downloaded it.
ssh-add /path/to/key.pem (which has correct permissions)
When I do ssh ubuntu@<ip> I get Permission denied (publickey) Any ideas?
I am trying to set up passwordless ssh on two fresh linux VM's from VM A to VM B but I'm having permissions issues. I installed openssh-server on both vm's and configured /etc/ssh/sshd_config as follows: