Create connection to host without password need

Well, the first step is to create a RSA key. This can be done by executing:
ssh-keygen -t rsa

The second step is to tranfer this key to host so it can authenticate out connection. You shall transfer only the .pub file into ~/.ssh/authorizedkeys folder by executing:
scp ~/.ssh/myrsakey.pub <username>@<hostname>:~/.ssh/authorized_keys

Now, you must be able to ssh the host without using your password:
ssh <user>@<hostname>
Commend below if you find this article usefull!

Σχόλια

Δημοφιλείς αναρτήσεις από αυτό το ιστολόγιο

Δεν δουλεύει το Internet σωστά? Δείτε τι σημαίνουν τα LED λαμπάκια στο router σας

Κόπηκε το Internet? Τα 5 πιο πιθανά αίτια για να το επαναφέρεις άμεσα

Vodafone H300S router: Πλήρης οδηγός χρήσης του εξοπλισμού