...
ssh -i PlatformKeyPairEast.pem ec2-user@<the ec2 host>
Window's users can also connect using PuTTY or WinSCP, however you will to first create a PuTTY private key file using puttygen.exe
Here is how to create the private key file:
- Run the 'puttygen.exe' tool
- Select the 'load' button from the UI.
- From the file dialog select your the KeyPair file (i.e. PlatformKeyPairEast.pem)
- A popup dialog should tell you the key file was imported sucessfully and to save it using "Save private Key"
- Select 'Save Private Key' and give it a name such as PlatformKeyPairEast.ppk to create the PuTTY private key file.
Once you have a PuTTY private key file you can use it to connect to your host using PuTTY or WinSCP.
To connect with WinSCP:
- Set the host name, and keep the default port (22). Note: Make sure port 22 is open on the box you are connecting to.
- Set the user name to ec2-user
- Select the '...' button under 'Private Key File' and select the .ppk file you created above.
- Select 'Login'
Figure out if AWS is broken
...