AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

connection to ec2 instance denied

when i try to connect to my ec2 instance which is running, its showing this error.

Permission denied (publickey,gssapi-keyex,gssapi-with-mic

1 Answers

You need to change your key permissions. Just run this command "chmod 600 your-key-path ", and then try to connect again.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?