Connect to your EC2 Linux instance

  1. Open up Terminal
Click on me

2. cd to the directory that has your .pem file. ls so you can copy and verify the name and then put the name of your .pem file in the next command.

cd Downloads
ls
chmod 400 Linuxfirst.pem

3. Now connect your instance in AWS.

4. You will see this screen popup.

Connect Instance window

In the terminal, type (piece this together before tapping enter)

ssh -i

Then copy the name of your pem file in your directory and put it in quotes.

ssh -i "yours.pem"

Then copy and paste the address provided in the connect instance window. In this case:

ssh -i "yours.pem" ec2-user@ec2-52-91-76-145.compute-1.amazonaws.com

If your connection is successful you should see:

Terminal GUI

  1. Open up Terminal
Click on me

2. Click on Shell then “New Remote Connection.”

3.

4. Now put …

Using Putty

  1. Install homebrew if not installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

You can check if you have it by running

brew help

2. Install Putty

sudo brew install putty

3. Use putty…

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Serverless is beautiful — Part 1

So, I Created a Programming Language

Beginning a Journey with Test Automation — Selenium

Cloud Native Buildpacks: How to Create a Custom Buildpack

CS373 Software Engineering Blog#4

RECAP AMA: MSTATION x BINSTARTER

One article to understand the whole process of BG Mine operation!

What’s all this “immutable date” stuff, anyway?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Scott

Scott

More from Medium

Angular.js vs Node.js — A Side-by-Side Comparison for Mobile Application Development

Angular.js vs Node.js — A Side-by-Side Comparison for Mobile Application Development

Django project images guide

Integrating Flower with Celery in Django Project Using Docker