Complete guide can be found at SSH-Academy
- From your terminal on the APT Runner, run
ssh-keygen -t rsa
- Choose the location where you want this key to be stored
- The default location is
$HOME/.ssh/key-name
- This is generally sufficient
- The default location is
- Choose the name of your key
- By default the key will be named
id_rsa
- You can name the key whatever you like
- By default the key will be named
- Skip adding a passphrase and key will be created
- Copy the public key created on the APT Runner system with
ssh-copy-id -i $HOME/.ssh/key-name user@domain
- run
ssh user@domain
to test configuration.