Difference between revisions of "Rocky Access SSH"

From NIMBioS
(Created page with "= SSH Software = On Linux or Mac, ssh command-line utilities are generally installed by default. = Generate Key Pair = Open a terminal and type the following command: <pre>ssh-keygen</pre> You will be prompted where to save your private key. Just hitting enter will save it to the default location. You will also be prompted to enter a password. This password will be required to use your private key in the future. {| class='wikitable' |- | Default Private Key Loca...")
 
m (Jondale moved page Generate Keys SSH to Rocky Access SSH)
(No difference)

Revision as of 20:01, 15 June 2022

SSH Software

On Linux or Mac, ssh command-line utilities are generally installed by default.

Generate Key Pair

Open a terminal and type the following command:

ssh-keygen

You will be prompted where to save your private key. Just hitting enter will save it to the default location. You will also be prompted to enter a password. This password will be required to use your private key in the future.

Default Private Key Location ~/.ssh/id_rsa
Default Public Key Location ~/.ssh/id_rsa.pub

Assuming default location, output your public key with the following command:

cat ~/.ssh/id_rsa.pub

Rocky keygen linuxmac.gif