{"action":"created","issue":{"url":"https://api.github.com/repos/iterative/dvc/issues/1124","repository_url":"https://api.github.com/repos/iterative/dvc","labels_url":"https://api.github.com/repos/iterative/dvc/issues/1124/labels{/name}","comments_url":"https://api.github.com/repos/iterative/dvc/issues/1124/comments","events_url":"https://api.github.com/repos/iterative/dvc/issues/1124/events","html_url":"https://github.com/iterative/dvc/issues/1124","id":360553198,"node_id":"MDU6SXNzdWUzNjA1NTMxOTg=","number":1124,"title":"SSH: authentication with password/passphrase","user":{"login":"gcoter","id":17814966,"node_id":"MDQ6VXNlcjE3ODE0OTY2","avatar_url":"https://avatars3.githubusercontent.com/u/17814966?v=4","gravatar_id":"","url":"https://api.github.com/users/gcoter","html_url":"https://github.com/gcoter","followers_url":"https://api.github.com/users/gcoter/followers","following_url":"https://api.github.com/users/gcoter/following{/other_user}","gists_url":"https://api.github.com/users/gcoter/gists{/gist_id}","starred_url":"https://api.github.com/users/gcoter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcoter/subscriptions","organizations_url":"https://api.github.com/users/gcoter/orgs","repos_url":"https://api.github.com/users/gcoter/repos","events_url":"https://api.github.com/users/gcoter/events{/privacy}","received_events_url":"https://api.github.com/users/gcoter/received_events","type":"User","site_admin":false},"labels":[{"id":552925965,"node_id":"MDU6TGFiZWw1NTI5MjU5NjU=","url":"https://api.github.com/repos/iterative/dvc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"efiop","id":5367102,"node_id":"MDQ6VXNlcjUzNjcxMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5367102?v=4","gravatar_id":"","url":"https://api.github.com/users/efiop","html_url":"https://github.com/efiop","followers_url":"https://api.github.com/users/efiop/followers","following_url":"https://api.github.com/users/efiop/following{/other_user}","gists_url":"https://api.github.com/users/efiop/gists{/gist_id}","starred_url":"https://api.github.com/users/efiop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efiop/subscriptions","organizations_url":"https://api.github.com/users/efiop/orgs","repos_url":"https://api.github.com/users/efiop/repos","events_url":"https://api.github.com/users/efiop/events{/privacy}","received_events_url":"https://api.github.com/users/efiop/received_events","type":"User","site_admin":false},"assignees":[{"login":"efiop","id":5367102,"node_id":"MDQ6VXNlcjUzNjcxMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5367102?v=4","gravatar_id":"","url":"https://api.github.com/users/efiop","html_url":"https://github.com/efiop","followers_url":"https://api.github.com/users/efiop/followers","following_url":"https://api.github.com/users/efiop/following{/other_user}","gists_url":"https://api.github.com/users/efiop/gists{/gist_id}","starred_url":"https://api.github.com/users/efiop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efiop/subscriptions","organizations_url":"https://api.github.com/users/efiop/orgs","repos_url":"https://api.github.com/users/efiop/repos","events_url":"https://api.github.com/users/efiop/events{/privacy}","received_events_url":"https://api.github.com/users/efiop/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/iterative/dvc/milestones/8","html_url":"https://github.com/iterative/dvc/milestone/8","labels_url":"https://api.github.com/repos/iterative/dvc/milestones/8/labels","id":3423025,"node_id":"MDk6TWlsZXN0b25lMzQyMzAyNQ==","number":8,"title":"Queue","description":"","creator":{"login":"efiop","id":5367102,"node_id":"MDQ6VXNlcjUzNjcxMDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5367102?v=4","gravatar_id":"","url":"https://api.github.com/users/efiop","html_url":"https://github.com/efiop","followers_url":"https://api.github.com/users/efiop/followers","following_url":"https://api.github.com/users/efiop/following{/other_user}","gists_url":"https://api.github.com/users/efiop/gists{/gist_id}","starred_url":"https://api.github.com/users/efiop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efiop/subscriptions","organizations_url":"https://api.github.com/users/efiop/orgs","repos_url":"https://api.github.com/users/efiop/repos","events_url":"https://api.github.com/users/efiop/events{/privacy}","received_events_url":"https://api.github.com/users/efiop/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":89,"state":"open","created_at":"2018-06-13T19:06:14Z","updated_at":"2018-09-22T09:24:59Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-09-15T16:11:19Z","updated_at":"2018-09-22T12:27:05Z","closed_at":"2018-09-19T03:52:17Z","author_association":"NONE","body":"Hello,\r\n\r\nIf I try to connect to an SSH remote without a private key file, it fails with this message:\r\n\r\n```\r\nError: Failed to push data to the cloud: No authentication methods available\r\n```\r\n\r\nAlso note that it will try the default key (.ssh/id_rsa) if you have one.\r\n\r\nIf I try to connect with an encrypted key file (i.e. with a passphrase), it fails with this message:\r\n\r\n```\r\nError: Failed to push data to the cloud: Private key file is encrypted\r\n```\r\n\r\nI think the reason is that no password is given to `ssh.connect` [there](https://github.com/iterative/dvc/blob/0.18.15/dvc/remote/ssh.py#L83). I wanted to submit a pull request to solve this but I have troubles with `dvc pull` (which opens several threads, each one with a separate connection apparently). So my fix is not fully functional...\r\n\r\nDo you have ideas?\r\n\r\nFor information, I use DVC 0.18.15 on Windows, installed with pip."},"comment":{"url":"https://api.github.com/repos/iterative/dvc/issues/comments/423740624","html_url":"https://github.com/iterative/dvc/issues/1124#issuecomment-423740624","issue_url":"https://api.github.com/repos/iterative/dvc/issues/1124","id":423740624,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzc0MDYyNA==","user":{"login":"gcoter","id":17814966,"node_id":"MDQ6VXNlcjE3ODE0OTY2","avatar_url":"https://avatars3.githubusercontent.com/u/17814966?v=4","gravatar_id":"","url":"https://api.github.com/users/gcoter","html_url":"https://github.com/gcoter","followers_url":"https://api.github.com/users/gcoter/followers","following_url":"https://api.github.com/users/gcoter/following{/other_user}","gists_url":"https://api.github.com/users/gcoter/gists{/gist_id}","starred_url":"https://api.github.com/users/gcoter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcoter/subscriptions","organizations_url":"https://api.github.com/users/gcoter/orgs","repos_url":"https://api.github.com/users/gcoter/repos","events_url":"https://api.github.com/users/gcoter/events{/privacy}","received_events_url":"https://api.github.com/users/gcoter/received_events","type":"User","site_admin":false},"created_at":"2018-09-22T12:27:05Z","updated_at":"2018-09-22T12:27:05Z","author_association":"NONE","body":"Hi @efiop !\r\n\r\nThe password authentication is working now, thank you!\r\n\r\nHowever, I noticed that if I run `dvc pull` with `--jobs` greater than 1, it will ask the password several times. To avoid that, I have to run `dvc pull --jobs 1`."}}
{"actor":{"display_login":"gcoter"}}