In this tutorial you will learn about some advanced features of ssh-keygen on Ubuntu server, such as:
Cryptographic algorithms
Larger Number of Bits
Removing or Changing the Passphrase
Displaying Fingerprint
More info
Code used during this tutorial:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
ssh-keygen # Overwrite (y/n)? # A number cryptographic algorithms can be used to generate SSH keys, including RSA, DSA, and ECDSA. ssh-keygen -t ecdsa ssh-copy-id liviu@http.liviubalan.com ssh liviu@http.liviubalan.com # Generate an SSH Key Pair with a Larger Number of Bits # SSH keys are 2048 bits by default. ssh-keygen -b 4096 ssh-copy-id liviu@http.liviubalan.com ssh liviu@http.liviubalan.com # Removing or Changing the Passphrase on a Private Key ssh-keygen -p # Displaying the SSH Key Fingerprint # bit-length of the key, the fingerprint, and account and host it was created for, and the algorithm used ssh-keygen -l # More info man ssh-keygen Useful links: https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys |
Presentation used during this tutorial:
Useful links:
https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys