Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, create your public and private key combination on O2:

  • To create keys for connecting from one O2 system to another, run the following ssh-keygen command from an O2 login server.

  • To create keys for connecting from your desktop to O2, run the following ssh-keygen command (or equivalent) on your desktop.

Code Block
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mfk8/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/mfk8/.ssh/id_rsa.
Your public key has been saved in /home/mfk8/.ssh/id_rsa.pub.
The key fingerprint is:
a5:b5:38:73:b7:3c:a6:8a:1d:a8:bd:87:4e:be:33:21 mfk8@login01

Copy For either desktop or intra-O2 usage, copy the public key to your the authorized_keys file in your O2 home directory:

Code Block
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

...