QT-DevOps / AWSIssues

Issues with AWS
Apache License 2.0
3 stars 26 forks source link

Could any of you help me in connecting AWS EC2 instance using Visual Studio code #95

Closed Ahmed3k closed 4 years ago

Ahmed3k commented 4 years ago

I am trying to remote ssh into the AWS EC2 instance created a config file as well but unable to connect

could you any off you help me with this.

Thank you

srmanikanta commented 4 years ago

follow this procedure:

The above procedure is for connecting a ec2 machine. I hope you are asking this one but config file is not required for this procedure( remote ssh).

Ahmed3k commented 4 years ago

Remote SSH

Ahmed3k commented 4 years ago

Gitbash is oneway of connecting but could you assist me connecting through Visual studio code

SURESHREDDY645102 commented 4 years ago

You can create IAM user and try login using Access Key and Secret Access key from Visual studio code.

srmanikanta commented 4 years ago

if you use visual studio code for remote ssh install power shell extension. once you installed the power shell extension then click on power shell icon ssh -i <prmfile> usernmae@ip if you have a password then ssh username@ip but this time it will ask password enter your password.

if you install remote-ssh extension please read this document and go through that Click Here

I think this is useful to you if not please ignore.

shaikkhajaibrahim commented 4 years ago

Is this done