forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.44k stars 172 forks source link

Missing AWS key pair pem file #22

Closed shellixsmart closed 3 years ago

shellixsmart commented 3 years ago

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.

omenking commented 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.

cmgorton commented 3 years ago

@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.

shellixsmart commented 3 years ago

Thank you @omenking @cmgorton