Seamless EC2 Instance Connectivity: How to Connect EC2 Instances Using Windows PowerShell

     To  Connecting the AWS ec2- instances is an easy step, For windows we have plenty of options to connect aws instances. c onnecting the ...

   
To 
Connecting the AWS ec2- instances is an easy step, For windows we have plenty of options to connect aws instances. connecting the ec2 instance using PowerShell is one of the options. To connect the PowerShell, we need to open the PowerShell from windows. Inside the PowerShell we need to switch directory to the pem file saved path. (ex) your pem file was stored in the Downloads folder you need to switch to that folder. 

C:\Users\Username\Downloads

When you open the PowerShell, Initially it loads the C:\users\username

You need to switch to the Downloads folder for that you need to use the below command.

cd.\Downloads (or) cd type Down click TAB it will automatically goes to the Downloads path.

Now open your aws ec2-Dashboard, click the instance which you want to login. Click the dialog box on the left side and click connect option.


After clicking the Connect option, it will show you the options like EC2 instance connect, Session Manager, SSH client, EC2 Serial console. Now click the SSH client option.

In the SSH client option, it will show you the connection string for the ssh as an example, Copy the Example one which is used to connect the instance using PowerShell, terminal

Now go to PowerShell → right click to paste the copied string from aws and click enter.

After clicking the Enter button it will ask you the yes/no, you should need to type "yes" to add our fingerprint in the server's know hosts.

It asks you only the first time when you connect to the instance.
Now the instance are successfully connected and you can work inside the Linux machine.
----------------------------------------!!!! Happy Learning with Techiev !!!!!!!!----------------------------------

-------------------------Subscribe our Youtube Channel by clicking the below link---------------------- ----------------------------!!https://www.youtube.com/@techieview729!!---------------------







Name

AWS,14,Devops,23,linux,9,
ltr
item
Techie View: Seamless EC2 Instance Connectivity: How to Connect EC2 Instances Using Windows PowerShell
Seamless EC2 Instance Connectivity: How to Connect EC2 Instances Using Windows PowerShell
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKp10nJ6QNIC_eLvADY0YxbwkR_6O_nd3pRQa5B_xuEDkeTC8uQ6jGxZt_XPm9alLJ1wrKksDW_SSbTEaCeeKONOUKJGODeHP3fmaarzRDSyDODW2ZusM62dExCzxE9DUjsCfq4GczdSwF2Ee-9ZgRtLQ2e-oN_gNJ-rzLE5cWTSuZQzGALUYM6Rruw/w400-h225/powermain.jpeg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKp10nJ6QNIC_eLvADY0YxbwkR_6O_nd3pRQa5B_xuEDkeTC8uQ6jGxZt_XPm9alLJ1wrKksDW_SSbTEaCeeKONOUKJGODeHP3fmaarzRDSyDODW2ZusM62dExCzxE9DUjsCfq4GczdSwF2Ee-9ZgRtLQ2e-oN_gNJ-rzLE5cWTSuZQzGALUYM6Rruw/s72-w400-c-h225/powermain.jpeg
Techie View
https://www.techiev.com/2022/08/how-to-connect-ec2-instances-using.html
https://www.techiev.com/
https://www.techiev.com/
https://www.techiev.com/2022/08/how-to-connect-ec2-instances-using.html
true
7013663511659419322
UTF-8
Loaded All Posts Not found any posts VIEW ALL View Full Article Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy