This post describes how to connect to SSH without entering a password on Linux.
- Have a server running Linux (see Install and set up Linux Debian 7).
Create an automatic connection to SSH
The automatic connection is created to the server myhost on port myport with the user myuser.
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub -p myport myuser@myhost
Connect to SSH
ssh -p myport myhost