Connect to your EC2 Linux instance

Using Terminal

  1. Open up Terminal
Click on me
cd Downloads
ls
chmod 400 Linuxfirst.pem
Connect Instance window
ssh -i
ssh -i "yours.pem"
ssh -i "yours.pem" ec2-user@ec2-52-91-76-145.compute-1.amazonaws.com

Terminal GUI

  1. Open up Terminal
Click on me

Using Putty

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

--

--

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