wiki:ssh public key authentication

Version 1 (modified by Daniel Kahn gillmor, 20 years ago) ( diff )

--

SSH public key authentication

A relatively secure way to use SSH is to use a keypair instead of a password. To get started, create your keypair:

ssh-keygen -b 2048 -t rsa

it will prompt you for a passphrase to protect this new key.

Once you've done this, your private key is stored in ~/.ssh/id_rsa protect this file''' it should only be readable by you.

Your public key is placed in ~/.ssh/id_rsa.pub This file is not sensitive. You can send it over e-mail in plain text without compromising your security.

Note: See TracWiki for help on using the wiki.