Simple way to generate ssh pub/private key

less than 1 minute read

Very simple way to generate ssh pub/private key in Linux.

1
 $ ssh-keygen -t rsa -P "" -m PEM -f filename 

Copy the content of .ssh/id_rsa.pub to .ssh/authorized_keys