A small blog.

How to add new users to EC2 and give SSH Key access

Here's how to add new users to an AMAZON EC2 linux instance and give them unique SSH Key access:

Say you are creating "user": Create a key on your own machine by entering the following:

# ssh -keygen -b 1024 -f user -t dsa
Don't use a paraphrase -- just hit enter.
You should now have two files compiled: user and
# chmod 600 Now transfer the public key file ( from your computer to the server. In this example, I use the /tmp/ directory.

Now SSH into your server using an account with root access, you will now need to create the user ...
Read More ...
Tags:   amazon  ec2  ssh  adding users  linux