Use key-based authentication with SSH
Submitted by srlinuxx on Mon, 03/26/2007 - 15:20.
It’s really simple to login with your username/password combination on the remote machine, but sometimes it can be a better idea to use key-based authentication.
Key-based authentication is where instead of authenticating that you are you with the remote machine credentials, you use a cryptographic key pair.
This tutorial assumes you’re using a Unix-like ,operating system on both the local and remote machines which both run OpenSSH. First, on your local machine, fire up a terminal and enter the following:
$ ssh-keygen -t rsa


Recent comments
40 min 14 sec ago
3 hours 31 min ago
8 hours 20 min ago
13 hours 58 min ago
22 hours 2 min ago
22 hours 48 min ago
23 hours 28 min ago
23 hours 55 min ago