Connect to AWS EC2 instance | SSH from Windows | .PEM Key

preview_player
Показать описание
SSH is a remote management protocol through which you connect to your remote servers and modify them.
This allows you to access your remote servers securely. So let us see how we can connect with our EC2 instances securely using SSH
Recent versions of Windows Server 2019 and Windows 10 - OpenSSH is included as an installable component
ec2-user
Public IP

Lab
Launch EC2
Download .pem file
Use command prompt or Powershell to ssh

Previous Videos
Create EC2 Instance in AWS I Run Web Server using User Data | AWS EC2

Amazon Ec2 Instance Security Groups | Inbound and Outbound Rules
Рекомендации по теме
Комментарии
Автор

You have no idea how much time you saved me by providing this video. I was stuck in a tutorial from my school and this explained it clearly and concisely. Thank you!!!

Ryan-nwid
Автор

Something I learned back in the IT days that helps to speed up copying file names, is hold hold shift, right-click and select 'copy as path'. Then you can paste the entire path with the file name all in one step.

Gadjix
Автор

My Brother, you can't imagine how i was struggling with this to just start the ec2 via ssh, the error which i was getting was with port:22, The moment you 've said about vpc/igw, there i figured out, igw(internet gateway), thank again.

khaderuddinwaseemmohammad
Автор

Thank you so much for this. I was missing the Internet Gateway on a default EC2 Instance configuration. I spent 2 days on this thank you man. I was not thinking about my IG at all

theguru
Автор

Thanks, my man! You sorted out something I was finding really insoluble. Its the part in the video where you talk about how the VPC should have an Internet Gateway attached with a status of "Active". I was getting timeout errors and could'nt understand what was going on because my security group had port 22 open. So on watching your video, I checked the Route Table and found the Internet Gateway in the VPC Route Table had a status of "Blackhole". The Internet gateway itself had a State of detached. I must have detached it when cleaning up resources. Anyways, after reattaching, the IG became active and I could SSH into the EC2 instance. Cheers! I would have had a hard time finding this on my own. I've subscribed and am looking forward to your next videos.

stevesam
Автор

The 500th subscriber, so very much appreciates your playlist about the fundamentals of AWS. Please make more for everyone can access the simple knowledge from you JasCloudTech. Thanks advanced

tuhuynh
Автор

I use Ubuntu there, it shows me permission denied publickey., same issue

tanveerkaurbenipal
Автор

You are the best of the best of the best of the best... ! :)

Maria-kmnm
Автор

@JasCloudTech Thank you so much for this. I was missing the Internet Gateway on a default EC2 Instance configuration. I spent 2 days on this thank you man. I was not thinking about my IG at all

RShelper
Автор

I checked the Igw and inbound rules…but still I am getting timed out error

priyatalakola
Автор

Thanks with helping me. Take you care - if you have a some free time you can help me with English practice :) also

greykoff
Автор

Все делаю как по вашей инструкции но не могу соеденится по ssh.
What should i do ? Im already did instructions but cant get a result.

greykoff
Автор

Wow that's is the great video ....i was spending couple of hours to connect to AWS instance by putty it is not worked ..after going through your video putty is not required so we can directly connect from cmd

NagarajH
Автор

I'm getting a warning: unprotected private file! when I try to ssh into my ec2.

travisjae
Автор

Sir after create instance public ipv4 address showing blank

ramyarajendran
Автор

The cmd shows "WARNING: UNPROTECTED PRIVATE KEY FILE!". What should I do in this case?

danishwais
Автор

Nice job. The private ip address is unique ? Safe to share ? I have homework but I am wondering if is safe to send homework that contains my private ip address

germainkone
Автор

Hello, thanks for this video tutorial. Its helpful. But you didn't show how you created the route tables and internet gateways?

michaelajiri
Автор

Why im getting error saying connection timed out

prasannajitlenka
Автор

'ssh' is not recognized as an internal or external command,
operable program or batch file. why ithis error come wen submit ssh key

dreamgurufantasy