Ssh – How to set up an AWS instance to allow others to SSH in

amazon ec2sshssh-keys

I've recently set up a AWS EC2 instance (using an Ubuntu AMI) for a web project. I of course created a public/private pem key which I sued to log in a and set up the instance. Now I have a new developer who needs to be able SSH into the instance as well. I created a user account on instance but when they try to log in they get a "Permission denied (publickey)."

What gives?

PBI

Best Answer

You need to create them a public/private key pair which they can then use to log into the box.

see the following from the EC2 documents.

Scroll down to Key Generation and Distribution you will need to read the WHOLE document to ensure you dont lock yourself out.