How to use Putty, and access launched instances via SSH.

982    Asked by DanielBAKER in AWS , Asked on Jan 27, 2020
Answered by Nitin Solanki

Once the instance is launched (assuming default VPC is used) then the only way to access the machine/instance is via public IP.

Download the private key pair to a location on your windows machine and access it via Cygwin, via putty just save it within the SSH keys dir and enter below command.

 #ssh -i .pem @

 If everything is correct then you’ll be able to access the instance.

NOTE:- Make sure the private key should have 600 privileges i.e. only read. Also, in case you’re unaware via which user to access the machine simply access it via “root” user and if it’s wrong, you'll get a CMD message with the correct “username”



Your Answer

Interviews

Parent Categories