![]() ![]() This will export the key to the terminal which can be saved to a file via script or manually. ![]() Jun 15 11:10:05.158: %SSH-5-ENABLED: SSH 1.99 has been enabledĪssign to SSH if not already assigned: home-1921(config)#ip ssh rsa keypair-name example % Generating 4096 bit RSA keys, keys will be exportable. Generate the key: home-1921(config)#crypto key generate rsa general-keys exportable label example modulus 4096 Unfortunately the only two options for encrypting them are des and 3des. You need to generate exportable keys for use with SSH and then export them to a PEM file with a password. However to answer the question of backing up SSH keys: you can even pull the new SSH public key out and update your scripts automatically (router#sh ip ssh). This can be done with a script and console cable. You will need to get onto the router without SSH to load the config/enable SSH anyways. Before we get into the details, I would suggest that instead of backing up your key, you just pull the new key from the new router and update your scripts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |