{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/9750","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/9750/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/9750/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/9750/events","html_url":"https://github.com/eclipse/che/issues/9750","id":324656821,"number":9750,"title":"Red Hat 6 based images cannot start -- `ssh-keygen -A` unknown option -A","user":{"login":"lukasheinrich","id":2318083,"avatar_url":"https://avatars2.githubusercontent.com/u/2318083?v=4","gravatar_id":"","url":"https://api.github.com/users/lukasheinrich","html_url":"https://github.com/lukasheinrich","followers_url":"https://api.github.com/users/lukasheinrich/followers","following_url":"https://api.github.com/users/lukasheinrich/following{/other_user}","gists_url":"https://api.github.com/users/lukasheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasheinrich/subscriptions","organizations_url":"https://api.github.com/users/lukasheinrich/orgs","repos_url":"https://api.github.com/users/lukasheinrich/repos","events_url":"https://api.github.com/users/lukasheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/lukasheinrich/received_events","type":"User","site_admin":false},"labels":[{"id":192367931,"url":"https://api.github.com/repos/eclipse/che/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-19T20:12:02Z","updated_at":"2018-05-20T10:31:34Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nFor custom stacks based on Red-Hat 6, workspaces cannot start due to an older version of `openssh` that does not accept the `-A` flag. This happens even if all agents are turned off (especially the SSH agent)\r\n\r\nI'm attaching a logfile for a stack based on the image `lukasheinrich/atlasche`\r\n\r\nWould it be possible to rewrite the start-up script to be more portable across openssh versions?\r\n\r\n[lukasheinrich-wksp-e7ok 2018-05-19 22_10_20.log](https://github.com/eclipse/che/files/2019778/lukasheinrich-wksp-e7ok.2018-05-19.22_10_20.log)\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/390471598","html_url":"https://github.com/eclipse/che/issues/9750#issuecomment-390471598","issue_url":"https://api.github.com/repos/eclipse/che/issues/9750","id":390471598,"user":{"login":"lukasheinrich","id":2318083,"avatar_url":"https://avatars2.githubusercontent.com/u/2318083?v=4","gravatar_id":"","url":"https://api.github.com/users/lukasheinrich","html_url":"https://github.com/lukasheinrich","followers_url":"https://api.github.com/users/lukasheinrich/followers","following_url":"https://api.github.com/users/lukasheinrich/following{/other_user}","gists_url":"https://api.github.com/users/lukasheinrich/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasheinrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasheinrich/subscriptions","organizations_url":"https://api.github.com/users/lukasheinrich/orgs","repos_url":"https://api.github.com/users/lukasheinrich/repos","events_url":"https://api.github.com/users/lukasheinrich/events{/privacy}","received_events_url":"https://api.github.com/users/lukasheinrich/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T10:31:34Z","updated_at":"2018-05-20T10:31:34Z","author_association":"NONE","body":"hi @eivantsov,\r\n\r\nopenssh is installend but with an older version (`5.3p1-123.el6_9 `) that does not have the `-A` option in `ssh-keygen`\r\n\r\nAlso I don't exactly understand why the `sshd` daemon gets started since I explicitly turned it off\r\n\r\n```json\r\n{\r\n  \"name\": \".ATLAS\",\r\n  \"id\": \"stackgw9baeybc01yaou0\",\r\n  \"scope\": \"general\",\r\n  \"description\": \"ATLAS Stack\",\r\n  \"workspaceConfig\": {\r\n    \"name\": \"default\",\r\n    \"commands\": [],\r\n    \"projects\": [],\r\n    \"environments\": {\r\n      \"default\": {\r\n        \"recipe\": {\r\n          \"type\": \"compose\",\r\n          \"content\": \"services:\\n dev-machine:\\n  image: lukasheinrich/atlasche\\n\",\r\n          \"contentType\": \"application/x-yaml\"\r\n        },\r\n        \"machines\": {\r\n          \"dev-machine\": {\r\n            \"attributes\": {\r\n              \"memoryLimitBytes\": \"2147483648\"\r\n            },\r\n            \"servers\": {},\r\n            \"agents\": [\r\n              \"org.eclipse.che.ws-agent\"\r\n            ]\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"defaultEnv\": \"default\",\r\n    \"links\": []\r\n  },\r\n  \"creator\": \"userqj84tonc93cnw3wk\",\r\n  \"tags\": [\r\n  ],\r\n  \"components\": []\r\n}\r\n```\r\n\r\n```\r\nhost > docker run --rm -it lukasheinrich/atlasche bash\r\n[bash][root]:atlas > yum list installed|grep openssh\r\nopenssh.x86_64                   5.3p1-123.el6_9                   @slc6-updates\r\nopenssh-clients.x86_64           5.3p1-123.el6_9                   @slc6-updates\r\n[bash][root]:atlas > ssh-keygen -A\r\nssh-keygen: illegal option -- A\r\nusage: ssh-keygen [options]\r\nOptions:\r\n  -a trials   Number of trials for screening DH-GEX moduli.\r\n  -B          Show bubblebabble digest of key file.\r\n  -b bits     Number of bits in the key to create.\r\n  -C comment  Provide new comment.\r\n  -c          Change comment in private and public key files.\r\n  -D pkcs11   Download public key from pkcs11 token.\r\n  -e          Convert OpenSSH to RFC 4716 key file.\r\n  -F hostname Find hostname in known hosts file.\r\n  -f filename Filename of the key file.\r\n  -G file     Generate candidates for DH-GEX moduli.\r\n  -g          Use generic DNS resource record format.\r\n  -H          Hash names in known_hosts file.\r\n  -h          Generate host certificate instead of a user certificate.\r\n  -I key_id   Key identifier to include in certificate.\r\n  -i          Convert RFC 4716 to OpenSSH key file.\r\n  -L          Print the contents of a certificate.\r\n  -l          Show fingerprint of key file.\r\n  -M memory   Amount of memory (MB) to use for generating DH-GEX moduli.\r\n  -N phrase   Provide new passphrase.\r\n  -O option   Specify a certificate option.\r\n  -P phrase   Provide old passphrase.\r\n  -p          Change passphrase of private key file.\r\n  -q          Quiet.\r\n  -R hostname Remove host from known_hosts file.\r\n  -r hostname Print DNS resource record.\r\n  -S start    Start point (hex) for generating DH-GEX moduli.\r\n  -s ca_key   Certify keys with CA key.\r\n  -T file     Screen candidates for DH-GEX moduli.\r\n  -t type     Specify type of key to create.\r\n  -V from:to  Specify certificate validity interval.\r\n  -v          Verbose.\r\n  -W gen      Generator to use for generating DH-GEX moduli.\r\n  -y          Read private key file and print public key.\r\n  -Z name,... User/host principal names to include in certificate\r\n  -z serial   Specify a serial number.\r\n```"}}
{"actor":{"display_login":"lukasheinrich"}}