In this quick post, I will show you how to add a new user to an and with your own rather than having to authenticate using the private key generated by . EC2 instance SSH private key AWS Connect via into your instance using its : SSH public IP Next, create a new user using the following command: |sudo adduser labouardy Next, we switch the shell session to the new account: |sudo su labouardy Create directory, and change the directory permission to (only the file owner can read, write or open the directory): .ssh 700 |mkdir .ssh |chmod 700 .ssh Note: ensure you are in the new user’s home directory (example: ) /home/labouardy Create an empty file called in the directory and change its permissions to (only the file owner can read or writ eto the file) authorized_keys .ssh 600 |touch authorized_keys |chmod 600 authorized_keys Finally, edit the file and past in your public key: authorized_keys Once you’ve done this, exist out back to your machine, then try to using the the new credential and user account you’ve created: SSH We now are logged in as user labouardy