Closed shellixsmart closed 3 years ago
When you use selfhost, it setups the EC2 server for you. It's not using EC2 Keypairs. EC2 keypairs happen when you set up an EC2 instance manually and this appears just before its launch in the AWS console.
You generate a SSH key locally and use that. The reason I can tell you are not generating a local key is you mentioned pem
but when you use ssh-keygen -t rsa
that doesn't generate out a .pem
file.
@shellixsmart I believe this was answered clearly by @omenking . If you have any other questions regarding how to set up the ssh key you can checkout the Generate a SSH Key/ AWS RSA based SSH key section in the Quick Start in Depth guide.
Thank you @omenking @cmgorton
It automatically generates AWS key pair / pem file. However required pem file is missing. Which is needed in order to reach the server through SSH.