SSH - directory permissions

To login to remote server without a password make sure your local computer public RSA key is added to ~/.ssh/authorized_keys file and file and directory permissions are updated

chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys