RSA key generation code example Example 1: ssh keygen ssh-keygen -t rsa -b 8192 Example 2: create public key linux mkdir key_backup cp id_rsa* key_backup