SSH Access - cat-box/aws-foundry-ssl GitHub Wiki
If you are using this section, I expect that you are at the very least somewhat familiar with linux and it's basic components.
You will have to first open port 22 in the AWS security group. Please refer to Opening Port 22 for how to do so.
You will also need your server's IP address. If you're unsure of how to find this, please refer to EC2 Instance IP.
The easiest way to SSH into your server via Windows is to use PuTTY. This is recommended by AWS and is my personal preference on Windows machines.
- Download the PuTTY Installer.
More than likely you will want the 64-bit MSI installer, but if you are running a 32bit system, please install that one instead. - Run the Installer and leave everything on default.
- Launch PuTTY when finished.
You will need to convert your AWS key pair to .ppk format since PuTTY doesn't natively support .pem format. Good thing for us, PuTTY also includes a key converter tool.
- Launch PuTTYgen
- Click Load
- In the bottom right corner, change to All Files (*.*)
- Open the SSH Key Pair you generated from AWS and used during setup
- You will see a PuTTYgen Notice if it successfully imported the key, click OK
- Click Save Private Key
- It will warn you that a passphrase has not been assigned, click Yes
- Choose a place to save the key. I recommend keeping it together with your .pem file from Amazon
You now have a .ppk key pair!
- Launch PuTTY
- On the left, navigate to the Auth menu via Connection -> SSH -> Auth
- Click Browse and select the converted .ppk key
- Navigate back to the Session menu
- Enter the following in the fields
Host Name (or IP address): ec2-user@<ec2 ip address here> e.g. [email protected] Port: 22 Connection type: SSH Saved Sessions: Foundry AWS
- Click Save
You will now be able to load your changed settings in without having to manually click through the steps above. - Click Open to connect to the ec2 instance.
- Click Yes
You should now be connected via SSH.
Mac OS is a unix based system and already natively supports SSH.
- Determine where your aws key pair file is and have it handy
- Open the terminal application
- Type the following into the terminal
ssh -i <path to aws key pair file here> ec2-user@<ip address here>
The resulting command should look similar to so:ssh -i ~/awskeypair.pem [email protected]
- Type
yes
if prompted and hit the enter/return key