Automatic SSH Login for Auto Backups
by drtech on Jul.04, 2009, under Computers
This if simple and a great asset if you are trying to do automatic backups with rsync or anything else where you need unattended backups or login. This is for Ubuntu Distributions of Linux:
1) Generate RSA Key
ssh-keygen -t rsa
2) Copy the key to the computer you wish to login to automatically without a password:
sudo scp ~/.ssh/id_rsa.pub USERNAME@IP:~/.ssh/authorized_keys
(replace your username and IP address with your correct info)
That’s it! Now you should be able to use SSH and not have to enter a password to login.
Thank you for visiting our site! All personal content on this site is locked while not logged in. If you are a family member or friend of the family, please request membership to this site to be able to view all it's content. To do so, just click on the link above and register. You will be notified if your account is approved. If you are already a member and wish to see private content, please login with the link at the top of the page. Thanks you for visiting. May the grace of the Lord, Jesus Christ, be with you!