Skip to main content

Converting ssh-keygen created key into PEM format (using OpenSSL)

Say I have created RSA key and it's located in my $HOME:

Create private key:

najmi@quds:~/.ssh$ openssl rsa -in id_rsa -outform pem > rsa_priv.pem


Create public key based on the private key above:

najmi@quds:~/.ssh$ openssl rsa -in rsa_priv.pem -pubout -out rsa_pub.pem 


Comments

Popular posts from this blog

Gue dengan S2 gue. Sronok banget!

Vultr - another reliable alternative for SEA Virtual Private Server!

I have been using Vultr  as my recent VPS now, since it has just a nearby Data Center in Singapore (sadly, Malaysian VPS is always expensive.. so the best option is DC in Singapore - most of the time). It provides free trial credit for around USD5.. and +USD2 if you did a social media integration/sharing with Twitter. Try it now. Click Vultr