Versions Compared

Key

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

...

The node will we “dialing out” to CAS, so we’ll create the key pair on the node.

  1. Login to your node.

  2. Create a type “ed25519” public key pair:

Code Block
ssh-keygen -t ed25519

...

Type:

Code Block
wget -qO - ipv4.icanhazip.com

results in your CAS' public IP address. You’ll need that in the next step.

...

Now let’s authorize your public key:

  1. Open the authorization list:

    Code Block
    mkdir $HOME/.ssh
    nano $HOME/.ssh/authorized_keys
  2. Copy & Paste the public key file contents (press Ctrl-Shift-V to paste into nano).

  3. Exit and save (Ctrl-X, then “Y”).

Typing this:

Code Block
cat $HOME/.ssh/authorized_keys

...