widdix / aws-ec2-ssh

Manage AWS EC2 SSH access with IAM
https://cloudonaut.io/manage-aws-ec2-ssh-access-with-iam/
MIT License
828 stars 289 forks source link

RPM on Centos 7.4 broken: Ec2 Permission denied #117

Closed cloudvant closed 6 years ago

cloudvant commented 6 years ago

Operating System: Centos 7.4 AWS CLI Version: aws-cli/1.14.30 Python/2.7.5 Linux/3.10.0-693.11.6.el7.x86_64 botocore/1.8.34

SSHD AthorizedKeyCommand does not work, the response is always permission denied.

The key has been uploaded to IAM and I've used ssh-add to add the key to the agent.

What I tried:

michaelwittig commented 6 years ago

Hi @vmendoza

  1. Which installation method have you used?
  2. What error do you get? Please copy and paste the message
cloudvant commented 6 years ago

I used the RPM method to install.

michaelwittig commented 6 years ago

The RPM only works on Amazon Linux at the moment. This is work in progress and will change soon.

michaelwittig commented 6 years ago

duplicate of #115

michaelwittig commented 6 years ago

@vmendoza can you try the new RPM: https://s3-eu-west-1.amazonaws.com/widdix-aws-ec2-ssh-releases-eu-west-1/aws-ec2-ssh-1.7.0-1.el7.centos.noarch.rpm