I am trying to setup Cloud9 for an existing EC2 instance:
it gives me a public ssh key to use, but if I put that public SSH key in ~/.ssh/authorized_keys I still can't connect, it says:
AWS Cloud9 couldn't connect to SSH server ubuntu@ec2-xx-8-xxx-98.us-west-1.compute.amazonaws.com.
But I know ssh is available as I can ssh in manually using this command:
ssh -Y ubuntu@ec2-xx-8-xxx-98.us-west-1.compute.amazonaws.com -i ~/my_pem_files/test.pem
so is there a way to ssh in with pem files or just the public ssh key?
