{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/machine/issues/3661","repository_url":"https://api.github.com/repos/docker/machine","labels_url":"https://api.github.com/repos/docker/machine/issues/3661/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/3661/comments","events_url":"https://api.github.com/repos/docker/machine/issues/3661/events","html_url":"https://github.com/docker/machine/issues/3661","id":171063858,"number":3661,"title":"Generic driver throws error at copying SSH key","user":{"login":"thasmo","id":184284,"avatar_url":"https://avatars.githubusercontent.com/u/184284?v=3","gravatar_id":"","url":"https://api.github.com/users/thasmo","html_url":"https://github.com/thasmo","followers_url":"https://api.github.com/users/thasmo/followers","following_url":"https://api.github.com/users/thasmo/following{/other_user}","gists_url":"https://api.github.com/users/thasmo/gists{/gist_id}","starred_url":"https://api.github.com/users/thasmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thasmo/subscriptions","organizations_url":"https://api.github.com/users/thasmo/orgs","repos_url":"https://api.github.com/users/thasmo/repos","events_url":"https://api.github.com/users/thasmo/events{/privacy}","received_events_url":"https://api.github.com/users/thasmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-14T15:26:03Z","updated_at":"2016-08-14T15:26:03Z","closed_at":null,"body":"I'm using `docker-machine.exe version 0.8.0, build b85aac1` running on Windows 10 64-bit. When executing `docker-machine create --driver generic --generic-ip-address=IP --generic-ssh-key \"C:\\Users\\thasmo\\.ssh\\id_rsa\" my-server` I get this error:\r\n\r\n```\r\nError creating machine: Error in driver during machine creation: unable to copy ssh key: open C:\\Users\\thasmo\\.docker\\machine\\machines\\dsta-public\\C:\\Users\\thasmo\\.ssh\\id_dsta: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.\r\n```\r\n\r\nTo solve it I had to manually copy my `id_rsa` and `id_rsa.pub` files to `C:\\Users\\thasmo\\.docker\\machine\\machines\\my-server` and edit the `config.json` file within the directory to set the `Driver.SSHKeyPath` option to the path of the newly copied SSH key.\r\n\r\nAfter that I ran `docker-machine regernerated-certs my-server` which successfully added `my-server` as a docker-machine host."}}
{"actor":{"display_login":"thasmo"}}