7.6 Practical SSH Usage

First key pairs are created - Private & Public

Then the public key is added to the servers .ssh/authorized_keys file

Keys are then shared with the server admin, if you are the server admin, congratulations the keys are shared with you!

Keys ship with a default name e.g. id_ed25519, best to stick with this name. Check book for -i workaround.

It’s possible to include usernames and addresses in a config file, i.e. instead of tpying ssh alexkgold@do4ds-lab.shop I can just type ssh lab.