This repository was archived by the owner on Nov 8, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 281
AuthorizedKeysCommand fails on Ubuntu 20.04Β #157
Copy link
Copy link
Open
Description
Metadata:
- Operating System: AWS Ubuntu 20.04
- Installation method: install.sh
- AWS CLI Version: aws-cli/1.17.14 Python/3.8.2 Linux/5.4.0-1015-aws botocore/1.14.14
On Ubuntu 20.04, AuthorizedKeysCommand fails, the following is from the auth.log output
AuthorizedKeysCommand /usr/share/ec2-instance-connect/eic_run_authorized_keys username SHA256:ecphulTPPp7xHnSCVkuQH2fcXemYKjT8xFftheRDz+s failed, status 22
The exact same install method works on 18.04. I'm not 100% sure what's the issue.
It looks to be related to #142
My /etc/ssh/sshd_config shows on the bottom (and is the only active AuthorizedKeysCommand option):
AuthorizedKeysCommand /opt/authorized_keys_command.sh
AuthorizedKeysCommandUser nobody
My /opt/authorized_keys_command.sh is the correct one supplied by this package
The string ec2-instance-connect or eic does not appear anywhere in my /etc/ssh/sshd_config and I've triple checked reloading ssh server
Any idea why the "EC2 Instance Connect" script is being called here?
eskp, walbertus, jrwhetse and eitijupaenoithoowohd
Metadata
Metadata
Assignees
Labels
No labels