Created
February 26, 2020 12:44
-
-
Save BenSlabbert/e74b60fd26af46937078832e96b0a9c2 to your computer and use it in GitHub Desktop.
convert an OPENSSH private key to an RSA private key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt install putty | |
| puttygen OPENSSH_KEY -O private-sshcom -o NEW_KEY | |
| ssh-keygen -i -f NEW_KEY > RSA_FORMATTED_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://federicofr.wordpress.com/2019/01/02/how-to-convert-openssh-private-keys-to-rsa-pem/