Creating an ssh key
By DevOps on Tue 01 January 2019in
Instead of using passwords, it's more secure to use ssh keys to control access to servers. It also makes it easier to automate systems using tools like Ansible.
To create an ssh key, on macOS or Linux, open up a terminal and type:
ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"
Set a pass phrase to protect access to your key (optional but recommended). the desktop will remember your pass phrase in the keyring when you log in so you don't have to enter it every time.