sshd_config is not configured properly when upgrading via RPM
artsem-makhnach opened this issue · 0 comments
artsem-makhnach commented
Metadata:
- Operating System: Amazon Linux AMI 2018.03
- Installation method: RPM
- AWS CLI Version: aws-cli/1.18.17 Python/2.7.16 Linux/4.14.165-103.209.amzn1.x86_64 botocore/1.15.17
When installing aws-ec2-ssh v1.9.2 via RPM - it comments out AuthorizedKeysCommand and AuthorizedKeysCommandUser properties and add one extra commented string #AuthorizedKeysCommand none to the end of file, so it's necessary to go to /etc/ssh/sshd_config and set them to appropriate values (in my case nobody as User and path to the authorized_keys_command.sh)