{"action":"created","issue":{"url":"https://api.github.com/repos/rancherio/os/issues/136","labels_url":"https://api.github.com/repos/rancherio/os/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/rancherio/os/issues/136/comments","events_url":"https://api.github.com/repos/rancherio/os/issues/136/events","html_url":"https://github.com/rancherio/os/issues/136","id":67022196,"number":136,"title":"setting up ssh and obtaining the keys","user":{"login":"squillace","id":1422718,"avatar_url":"https://avatars.githubusercontent.com/u/1422718?v=3","gravatar_id":"","url":"https://api.github.com/users/squillace","html_url":"https://github.com/squillace","followers_url":"https://api.github.com/users/squillace/followers","following_url":"https://api.github.com/users/squillace/following{/other_user}","gists_url":"https://api.github.com/users/squillace/gists{/gist_id}","starred_url":"https://api.github.com/users/squillace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squillace/subscriptions","organizations_url":"https://api.github.com/users/squillace/orgs","repos_url":"https://api.github.com/users/squillace/repos","events_url":"https://api.github.com/users/squillace/events{/privacy}","received_events_url":"https://api.github.com/users/squillace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T00:50:05Z","updated_at":"2015-04-08T17:16:27Z","closed_at":null,"body":"Hi -- just starting out with this, but I've read the docs I could find and I understand that I'm supposed to:\r\n\r\n1. sudo rancherctl config set user_docker.tls true\r\n2. sudo system-docker restart userdocker\r\n3. sudo rancherctl tls generate -s --hostname localhost --hostname something.example.com\r\n4. sudo system-docker restart userdocker\r\n5. sudo rancherctl tls generate\r\n6. sudo chown -R rancher ${HOME}/.docker\r\n\r\nGiven that I'm prepping a very simple image to try in one of the currently-unsupported clouds, how is it that it would be best to prep this image with a key/pair that you'd like to use? Or, more to the point, how is it that you should configure the image such that you can create a vm from it and immediately access it from ssh in order to configure the keys for remote docker usage? is there a way to use rancherctl remotely, or is that the point of rancher itself?\r\n\r\nWhat's the best practice here?\r\n\r\nThanks in advance,  Ralph\r\n"},"comment":{"url":"https://api.github.com/repos/rancherio/os/issues/comments/90978494","html_url":"https://github.com/rancherio/os/issues/136#issuecomment-90978494","issue_url":"https://api.github.com/repos/rancherio/os/issues/136","id":90978494,"user":{"login":"squillace","id":1422718,"avatar_url":"https://avatars.githubusercontent.com/u/1422718?v=3","gravatar_id":"","url":"https://api.github.com/users/squillace","html_url":"https://github.com/squillace","followers_url":"https://api.github.com/users/squillace/followers","following_url":"https://api.github.com/users/squillace/following{/other_user}","gists_url":"https://api.github.com/users/squillace/gists{/gist_id}","starred_url":"https://api.github.com/users/squillace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squillace/subscriptions","organizations_url":"https://api.github.com/users/squillace/orgs","repos_url":"https://api.github.com/users/squillace/repos","events_url":"https://api.github.com/users/squillace/events{/privacy}","received_events_url":"https://api.github.com/users/squillace/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:16:27Z","updated_at":"2015-04-08T17:16:27Z","body":"Great, thanks. I'll try that today. To confirm for the newbiediot here, if you wanted to create a vm image to use with any particular host *and* retain control over the VM once deployed, you'd create an image with the cloud-config file opening up SSH and adding the keys required. Correct?\r\n\r\nAnd once deployed -- help orient me here -- when I ssh'd in, I'd be.... where? in user rancher, assuming I'd `ssh rancher@ranchervm.cloud.com -p 22`? From there I could connect to any of the command or user containers like normal?\r\n\r\nThanks for the help; I'm really looking forward to trying it all out."}}