We access our ubuntu server from outside over ssh this way :
ssh -i securityTier.pem -l someUsername serverDnsName
I need to create new user which will use separate *.pem file. So far i created :
sudo useradd new-user sudo - su new-user ssh-keygen
so new-user have default keys : ~/.ssh/id_rsa and id_rsa.pub
and i wonder how i can generate from user`s ssh private key pem file ? What's correct way in openssl to generate *.pem file for given user ?