Skip to content

Instantly share code, notes, and snippets.

@crowdmatt
Created April 15, 2013 21:48
Show Gist options
  • Save crowdmatt/5391537 to your computer and use it in GitHub Desktop.
Save crowdmatt/5391537 to your computer and use it in GitHub Desktop.
openssl rsa -in MYFILE.pem -pubout > MYFILE.pub
ssh-keygen -f MYFILE.pub -i -m PKCS8
@ehwest
Copy link

ehwest commented Mar 2, 2014

do_convert_from_pkcs8: MYFILE.pub is not a recognised public key forma

@pveentjer
Copy link

Thanks, exactly what I was looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment