AWS linux AMI

Posted on 2016-08-30
Medium Priority
Last Modified: 2016-09-01

I am trying to login to a linux ami EC2 from amazon, although I am receiving this error:

permission denied (publickey, gssapi-keyex, gssapi-with-mic)

Does anyone know how to work around this?

Question by:Eric Donaldson
  • 2
LVL 38

Accepted Solution

Gerwin Jansen, EE MVE earned 2000 total points
ID: 41776588
You have to setup ssh-keys to log on. There is no password log on option available. Did you get/create ssh keys when you setup this instance?

Author Comment

by:Eric Donaldson
ID: 41776754
ok thanks; and use the key from linux cli?  It still wont connect
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 2000 total points
ID: 41777533
yes, you should just be able to ssh to your Linux host without having to specify a password

Featured Post

Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question