Connect to EC2 or Jump Server from Terminal

This post will explain how to use SSH to connect from a Mac or Linux terminal to your EC2 instance or Jump server.

Make that the PEM file you use to connect to the jump server has the proper permissions.

In the terminal, enter the following command, if your instance is in AWS.
user@bigdatansql ~ % ssh ec2-user@ec2-instance.compute.amazonaws.com -i your-key.pem

Providing the parameters before the instance name can occasionally cause an exception to be thrown.

Leave a Reply