{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/861","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/861/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/861/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/861/events","html_url":"https://github.com/xcat2/xcat-core/issues/861","id":143928075,"number":861,"title":"[FVT] On Ubuntu 16.04, rsa1 is unsupported key type","user":{"login":"neo954","id":12424088,"avatar_url":"https://avatars.githubusercontent.com/u/12424088?v=3","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/component:security","name":"component:security","color":"fbca04"},{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/priority:normal","name":"priority:normal","color":"009800"},{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/type:bug","name":"type:bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"daniceexi","id":10385985,"avatar_url":"https://avatars.githubusercontent.com/u/10385985?v=3","gravatar_id":"","url":"https://api.github.com/users/daniceexi","html_url":"https://github.com/daniceexi","followers_url":"https://api.github.com/users/daniceexi/followers","following_url":"https://api.github.com/users/daniceexi/following{/other_user}","gists_url":"https://api.github.com/users/daniceexi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniceexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniceexi/subscriptions","organizations_url":"https://api.github.com/users/daniceexi/orgs","repos_url":"https://api.github.com/users/daniceexi/repos","events_url":"https://api.github.com/users/daniceexi/events{/privacy}","received_events_url":"https://api.github.com/users/daniceexi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/6","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/6/labels","id":1369794,"number":6,"title":"2.12","description":null,"creator":{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"open_issues":105,"closed_issues":216,"state":"open","created_at":"2015-10-22T07:51:37Z","updated_at":"2016-03-28T09:10:19Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-28T08:39:41Z","updated_at":"2016-03-28T14:22:29Z","closed_at":null,"body":"    # /usr/bin/ssh-keygen -t rsa1 -f /etc/xcat/hostkeys/ssh_host_key -C '' -N ''\r\n    Generating public/private rsa1 key pair.\r\n    Saving key \"/etc/xcat/hostkeys/ssh_host_key\" failed: unknown or unsupported key type\r\n\r\nThe original problem came from an E-mail report. Please see below for the details.\r\n\r\n> After trying to run nodeset on a Ubuntu 16.04 MN, I came across these errors:\r\n\r\n>     Error: /install/postscripts/hostkeys/ssh_host_key.pub is missing. Run xcatconfig (no force)\r\n>     Error: /etc/xcat/hostkeys/ssh_host_key.pub is missing. Run xcatconfig (no force)\r\n\r\n> After doing some exploring in xcatconfig, it seems that four types of keys should be generated: SSH1 RSA, SSH2 RSA, SSH2 DSA, and SSH2 ECDSA.  All were present except for the rsa1 key which should have been generated by the \"/usr/bin/ssh-keygen -t rsa1 -f /etc/xcat/hostkeys/ssh_host_key -C '' -N ''\" command in xcatconfig.  \r\n\r\n> My questions are: \r\n> What is the purpose of each of the 4 different key types? Do we need to be generating all 4?\r\n> Is it possible that Ubuntu 16.04 doesn't support rsa1 any more?  Or perhaps it is a beta issue?"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/202413295","html_url":"https://github.com/xcat2/xcat-core/issues/861#issuecomment-202413295","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/861","id":202413295,"user":{"login":"daniceexi","id":10385985,"avatar_url":"https://avatars.githubusercontent.com/u/10385985?v=3","gravatar_id":"","url":"https://api.github.com/users/daniceexi","html_url":"https://github.com/daniceexi","followers_url":"https://api.github.com/users/daniceexi/followers","following_url":"https://api.github.com/users/daniceexi/following{/other_user}","gists_url":"https://api.github.com/users/daniceexi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniceexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniceexi/subscriptions","organizations_url":"https://api.github.com/users/daniceexi/orgs","repos_url":"https://api.github.com/users/daniceexi/repos","events_url":"https://api.github.com/users/daniceexi/events{/privacy}","received_events_url":"https://api.github.com/users/daniceexi/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T14:22:29Z","updated_at":"2016-03-28T14:22:29Z","body":"@neo954 on my ubuntu 14.04.4, in the man page of ssh-keygen, it list the **rsa1** is support. What are  the valid value in your ubuntu 16.04?\r\n\r\n~~~~\r\n     -t type\r\n             Specifies the type of key to create.  The possible values are \"rsa1\" for protocol version 1 and \"dsa\",\r\n             \"ecdsa\", \"ed25519\", or \"rsa\" for protocol version 2.\r\n~~~~\r\n"}}