{"action":"opened","issue":{"url":"https://api.github.com/repos/widdix/aws-ec2-ssh/issues/122","repository_url":"https://api.github.com/repos/widdix/aws-ec2-ssh","labels_url":"https://api.github.com/repos/widdix/aws-ec2-ssh/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/widdix/aws-ec2-ssh/issues/122/comments","events_url":"https://api.github.com/repos/widdix/aws-ec2-ssh/issues/122/events","html_url":"https://github.com/widdix/aws-ec2-ssh/issues/122","id":312343631,"number":122,"title":"Add dependency check to install scrip","user":{"login":"laurikimmel","id":476134,"avatar_url":"https://avatars1.githubusercontent.com/u/476134?v=4","gravatar_id":"","url":"https://api.github.com/users/laurikimmel","html_url":"https://github.com/laurikimmel","followers_url":"https://api.github.com/users/laurikimmel/followers","following_url":"https://api.github.com/users/laurikimmel/following{/other_user}","gists_url":"https://api.github.com/users/laurikimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/laurikimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurikimmel/subscriptions","organizations_url":"https://api.github.com/users/laurikimmel/orgs","repos_url":"https://api.github.com/users/laurikimmel/repos","events_url":"https://api.github.com/users/laurikimmel/events{/privacy}","received_events_url":"https://api.github.com/users/laurikimmel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-08T21:32:39Z","updated_at":"2018-04-08T21:32:39Z","closed_at":null,"author_association":"NONE","body":"Metadata:\r\n* Operating System: Debian 8.10\r\n* Installation method: install.sh script\r\n* AWS CLI Version: not sure any more, less than 1.15.2\r\n\r\nI was not able to login over SSH with existing IAM user account. Troubleshooting revealed \r\n```\r\naws iam list-ssh-public-keys --user-name \"$UnsaveUserName\" --query \"SSHPublicKeys[?Status == 'Active'].[SSHPublicKeyId]\" --output text\r\n```\r\nin ```authorized_keys_command.sh``` was returning error since outdated version of ```awscli```.\r\n\r\nUpgrading ```awscli``` to lates available (1.15.2) fixed the issue.\r\n\r\n1. document minimum required versions for dependencies\r\n1. add version checks to install script. Eg. check available versions and abort in case they don't meet minimum requirements"}}
{"actor":{"display_login":"laurikimmel"}}