How to Setup SSH Login without password

You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id:

First you have to make ssh key with this command:

ssh-keygen -b 1024 -t rsa -f /user/.ssh/id_rsa (don't forget to change user to your user account)
Or
ssh-keygen

After this you have to copy ID on your remote server:
scp /user/.ssh/id_rsa.pub root@mycomputer.mycompany.com:/user/.ssh/authorized_keys
Or
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host


After that you just have to test your ssh connection without password:
ssh user@remote-host

If you followed steps.. it should works just fine.