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
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!!---------------------