How to connect to AWS EC2 instance from local machine | Connect to EC2 instance from local machine

preview_player
Показать описание

Pre-requisites:

2. EC2 is up and running

Mac Laptop instructions

Open iTerm window, type the below command to go to downloads directory.
cd downloads

For few Mac laptops, it may add .txt in the end of pem file. in that case you need to remove .txt in the end

pwd
and then execute below commands to make sure you are not making keys publicly viewable.
chmod 400 *.pem
Paste the url from example highlighted above in step # 4.
type yes when it is asking to connect.
Рекомендации по теме
Комментарии
Автор

woww.. i must say so clean and clear explanation without wasting any time..i appreciate it.

bismadar
Автор

Easy and clear info. thanks and appreciate it

misterdeen
Автор

Thanks Sir, highly appreciated your time and work

zaheerbeg
Автор

hello sir, how do I run a python script in SSH. Do I have to upload my python file using file zilla or there is another way

khanyasser
Автор

I am getting connection time out error, what could be the issue

charankumar
Автор

Hi sir, i need small help required from you AWS installation in my machine

bhavanivani