{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/1963","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/1963/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/1963/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/1963/events","html_url":"https://github.com/dnschneid/crouton/issues/1963","id":97132177,"number":1963,"title":"OpenSSH startup: could not load host keys error","user":{"login":"aafrey","id":11063598,"avatar_url":"https://avatars.githubusercontent.com/u/11063598?v=3","gravatar_id":"","url":"https://api.github.com/users/aafrey","html_url":"https://github.com/aafrey","followers_url":"https://api.github.com/users/aafrey/followers","following_url":"https://api.github.com/users/aafrey/following{/other_user}","gists_url":"https://api.github.com/users/aafrey/gists{/gist_id}","starred_url":"https://api.github.com/users/aafrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aafrey/subscriptions","organizations_url":"https://api.github.com/users/aafrey/orgs","repos_url":"https://api.github.com/users/aafrey/repos","events_url":"https://api.github.com/users/aafrey/events{/privacy}","received_events_url":"https://api.github.com/users/aafrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-24T19:55:08Z","updated_at":"2015-08-22T05:26:27Z","closed_at":null,"body":"apologies if this is old new, but i;ve spent the better part of two days trying to get ssh started in crouton. I've followed the setup instructions found here: https://github.com/dnschneid/crouton/wiki/Running-servers-in-crouton\r\n\r\nbut to no avail... my /etc/rc.local file looks like this:\r\n`/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT`\r\n`mkdir -p -m0755 /var/run/sshd`\r\n`/usr/sbin/sshd`\r\n`exit 0`\r\n\r\nwhen i run\r\n`$service ssh start`\r\n\r\ni get this error\r\n`* Starting OpenBSD Secure Shell server sshd`\r\n`Could not load host key: /etc/ssh/ssh_host_rsa_key`\r\n`Could not load host key: /etc/ssh/ssh_host_dsa_key`\r\n`Could not load host key: /etc/ssh/ssh_host_ecdsa_key`\r\n`Could not load host key: /etc/ssh/ssh_host_ed25519_key`\r\n                                                                    `[ OK ]`\r\n\r\ni've regenerated and reconfigured everything multiple times to no avail. any help appreciated. thanks\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/133636355","html_url":"https://github.com/dnschneid/crouton/issues/1963#issuecomment-133636355","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/1963","id":133636355,"user":{"login":"drinkcat","id":3467596,"avatar_url":"https://avatars.githubusercontent.com/u/3467596?v=3","gravatar_id":"","url":"https://api.github.com/users/drinkcat","html_url":"https://github.com/drinkcat","followers_url":"https://api.github.com/users/drinkcat/followers","following_url":"https://api.github.com/users/drinkcat/following{/other_user}","gists_url":"https://api.github.com/users/drinkcat/gists{/gist_id}","starred_url":"https://api.github.com/users/drinkcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drinkcat/subscriptions","organizations_url":"https://api.github.com/users/drinkcat/orgs","repos_url":"https://api.github.com/users/drinkcat/repos","events_url":"https://api.github.com/users/drinkcat/events{/privacy}","received_events_url":"https://api.github.com/users/drinkcat/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T05:26:27Z","updated_at":"2015-08-22T05:26:27Z","body":"This page is old but probably still relevant: https://www.digitalocean.com/company/blog/avoid-duplicate-ssh-host-keys/ . Try to run:\r\n`/usr/sbin/dpkg-reconfigure openssh-server`\r\n"}}