{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/sshcommand/issues/33","repository_url":"https://api.github.com/repos/dokku/sshcommand","labels_url":"https://api.github.com/repos/dokku/sshcommand/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/dokku/sshcommand/issues/33/comments","events_url":"https://api.github.com/repos/dokku/sshcommand/issues/33/events","html_url":"https://github.com/dokku/sshcommand/pull/33","id":169903302,"number":33,"title":"Improve sshcommand list output","user":{"login":"IlyaSemenov","id":128121,"avatar_url":"https://avatars.githubusercontent.com/u/128121?v=3","gravatar_id":"","url":"https://api.github.com/users/IlyaSemenov","html_url":"https://github.com/IlyaSemenov","followers_url":"https://api.github.com/users/IlyaSemenov/followers","following_url":"https://api.github.com/users/IlyaSemenov/following{/other_user}","gists_url":"https://api.github.com/users/IlyaSemenov/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaSemenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaSemenov/subscriptions","organizations_url":"https://api.github.com/users/IlyaSemenov/orgs","repos_url":"https://api.github.com/users/IlyaSemenov/repos","events_url":"https://api.github.com/users/IlyaSemenov/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaSemenov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T11:41:24Z","updated_at":"2016-08-09T05:48:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dokku/sshcommand/pulls/33","html_url":"https://github.com/dokku/sshcommand/pull/33","diff_url":"https://github.com/dokku/sshcommand/pull/33.diff","patch_url":"https://github.com/dokku/sshcommand/pull/33.patch"},"body":"The current `sshcommand list` output is useless on modern Linuxes (Ubuntu 16.04 LTS in particular), and wasn't very useful even when it worked on older distros with old-style SSH fingerprints.\r\n\r\nThis PR reworks `sshcommand list` to output pairs of `username ssh-fingerprint` for each user added by `sshcommand create`.\r\n\r\nSee https://github.com/dokku/dokku/issues/2343 for the related Dokku issue (if this PR is merged, the issue should be closed)."},"comment":{"url":"https://api.github.com/repos/dokku/sshcommand/issues/comments/238459673","html_url":"https://github.com/dokku/sshcommand/pull/33#issuecomment-238459673","issue_url":"https://api.github.com/repos/dokku/sshcommand/issues/33","id":238459673,"user":{"login":"IlyaSemenov","id":128121,"avatar_url":"https://avatars.githubusercontent.com/u/128121?v=3","gravatar_id":"","url":"https://api.github.com/users/IlyaSemenov","html_url":"https://github.com/IlyaSemenov","followers_url":"https://api.github.com/users/IlyaSemenov/followers","following_url":"https://api.github.com/users/IlyaSemenov/following{/other_user}","gists_url":"https://api.github.com/users/IlyaSemenov/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaSemenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaSemenov/subscriptions","organizations_url":"https://api.github.com/users/IlyaSemenov/orgs","repos_url":"https://api.github.com/users/IlyaSemenov/repos","events_url":"https://api.github.com/users/IlyaSemenov/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaSemenov/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T05:48:03Z","updated_at":"2016-08-09T05:48:03Z","body":"On Ubuntu 16.04, the new output looks like this:\r\n\r\n```console\r\n# dokku ssh-keys:list\r\nadmin SHA256:y/lCsvs2fCWjcYc0whZFYQ3UX/OO2qv+n6wE7D9dCeI\r\ngitlab SHA256:sxDqS3wXgZ7RUfzHKLbJElMPwqEg14op/bTk/qqmiwI\r\n```\r\n\r\nIn Debian jessie (your `Dockerfile.test` environment), the output looks like this:\r\n\r\n```console\r\nuser1 6b:4f:f9:1a:1e:1b:7a:82:21:29:1d:21:96:6d:e5:22\r\n```\r\n\r\nI didn't see any real use for the extra output. Please correct me if I got it wrong.\r\n\r\nFor comparison, the output with sshcommand from the current master (9ce3fdce3b4fde1ae49a287380f5d7c920140757) looks like this on Ubuntu 16.04:\r\n\r\n```console\r\n# dokku ssh-keys:list\r\n SSHCOMMAND_ALLOWED_KEYS: no-agent-forwarding,no-user-rc,no-X11-forwarding,no-port-forwarding\r\n SSHCOMMAND_ALLOWED_KEYS: no-agent-forwarding,no-user-rc,no-X11-forwarding,no-port-forwarding\r\n```"}}
{"actor":{"display_login":"IlyaSemenov"}}