Gnome Seahorse
You can use Gnome's Seahorse (Passwords and Keys) to handle SSH keys, this is particularly useful when working with GitHub.
- Open
Password and Keys(this app is known as Seahorse) - Click
+ - Select
Secure Shell Key - Enter a description of the key
- Click
Advanced key options- Set Encryption Type to RSA
- Set Key Strength to 4096
- Click
Just Create Key - In a CLI (terminal)
- Install xclip:
sudo apt install xclip - Copy the key to your clipboard:
cat ~/.ssh/{keyname}.pub | xclip -i -sel clip
- Install xclip:
- In GitHub
- Open SSH and GPG keys (https://github.com/settings/keys)
- Click
New SSH key - Enter a title
- Paste the key