You are not yet ready for our 7A-KEL'RIN-443 encryption, but it is relatively trivial to set up an ssh keypair.
Generate the SSH key pair
Open your terminal. Execute:
`ssh-keygen`
You will be questioned about:
- The file location. Accept the default path unless you have a superior reason.
- A passphrase. Use one if you fear your discipline is insufficient.
This procedure produces:
- A private key — guard it as you would your ketracel-white.
- A public key — harmless to distribute.
Select the Key Type
The efficient choice is Ed25519
`ssh-keygen -t ed25519 -C "
[email protected]"`
If your system lacks the strength to support it, fall back to RSA:
`ssh-keygen -t rsa -b 4096 -C "
[email protected]"`
Add the Key to the SSH Agent
A convenience for those who prefer not to repeat themselves.
`eval "$(ssh-agent -s)"`
`ssh-add ~/.ssh/id_ed25519`
Deploy Your Public Key to the Server
Transfer it manually or use the standard command:
`ssh-copy-id user@server`
This places your public key into `~/.ssh/authorized_keys`, granting you access without further challenge.
Test the Connection
When the key is in place, confirm your access:
`ssh user@server`
If you performed the steps correctly, the system will recognize you without a password -- as any competent soldier would recognize his superior.