...
The node will we “dialing out” to CAS, so we’ll create the key pair on the node.
Login to your node.
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:
Open the authorization list:
Code Block mkdir $HOME/.ssh nano $HOME/.ssh/authorized_keys
Copy & Paste the public key file contents (press Ctrl-Shift-V to paste into nano).
Exit and save (Ctrl-X, then “Y”).
Typing this:
Code Block |
---|
cat $HOME/.ssh/authorized_keys |
...