...
$ ssh-keygen -t rsa -b 4096
This will prompt you First, this command will ask you to enter a filename to store the key into. You can just press enter as the default file is the one we want (/home/<username>/.ssh/id_rsa
). Next, you will be prompted to make a passphrase. This is similar to a password, but should be longer and stronger. Make it something you won’t forget, but don’t worry – you won’t be typing it all the time like a normal password.
...