How to setup public key authentication and ssh into Cisco ASA

After downloading and installing putty, you can start puttygen.exe from start menu. (in windows 10, you can just search for puttygen.exe) Now, in the puttygen windows, select RSA and put 2048 as number of bits. This is the default value. Then click ‘Generate’ button and move your mouse around until the progress bar fills up. Once it fills up, puttygen will generate a public/private key pair. It is best to secure your keys with a key passphrase (password). Then click on save private key to save the private key and save public key to save the public key.

Continue reading