Call 1-888-670-1652

How to create pair of authorization key

How to create pair of authorization keys:

Step #1: Generate DSA Key Pair

ssh-keygen -t dsa

Hit 'enter' on every question.

The public key is written to /home/you/.ssh/id_dsa.pub.
The private key is written to /home/you/.ssh/id_dsa.
It is important you never-ever give out your private key.

Step #2: Set directory permission

Next make sure you have correct permission on .ssh directory:

cd
chmod 755 .ssh

Step #3: Copy public key

Now copy file ~/.ssh/id_dsa.pub to remote server into ~/.ssh/authorized_keys2 file.

In case of multiple keys each key should be innn one line.

Login to your remote server and make sure permissions are set correct:

chmod 600 ~/.ssh/authorized_keys2