Metadata:
- Operating System: Debian 8.10
- Installation method: install.sh script
- AWS CLI Version: not sure any more, less than 1.15.2
I was not able to login over SSH with existing IAM user account. Troubleshooting revealed
aws iam list-ssh-public-keys --user-name "$UnsaveUserName" --query "SSHPublicKeys[?Status == 'Active'].[SSHPublicKeyId]" --output text
in authorized_keys_command.sh was returning error since outdated version of awscli.
Upgrading awscli to lates available (1.15.2) fixed the issue.
- document minimum required versions for dependencies
- add version checks to install script. Eg. check available versions and abort in case they don't meet minimum requirements