Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

#ssh-keygen -t rsa

ssh-copy-id -i ~/.ssh/ user@servername


Copy the content of /root/.ssh/ to /root/.ssh/authorized_keys >> authorized_keys
Make sure the permissions are:
#chmod 755 .ssh
#chmod 600 ~/.ssh/authorized_keys

More Tips & Tricks
• You have to disable strict mode in ssh config file if the home directory has access to other users.
• You can restrict the hostnames from where they can connect to the server
from=”*,*”, [ space] ssh-rsa
or from=”required ip” ssh-rsa

Note: is public key, id_rsa is private key, authorized_keys is the key that enables authorization