Connect to SSH without entering a password on Linux

This post describes how to connect to SSH without entering a password on Linux.

Prerequisites

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

» Backup a server on Debian or Ubuntu Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

*