{"comment":{"url":"https://api.github.com/repos/net-ssh/net-ssh/comments/9850632","html_url":"https://github.com/net-ssh/net-ssh/commit/85c91e87dd5a1c34cf34f381274e26df02b91c79#commitcomment-9850632","id":9850632,"user":{"login":"nirvdrum","id":12584,"avatar_url":"https://avatars.githubusercontent.com/u/12584?v=3","gravatar_id":"","url":"https://api.github.com/users/nirvdrum","html_url":"https://github.com/nirvdrum","followers_url":"https://api.github.com/users/nirvdrum/followers","following_url":"https://api.github.com/users/nirvdrum/following{/other_user}","gists_url":"https://api.github.com/users/nirvdrum/gists{/gist_id}","starred_url":"https://api.github.com/users/nirvdrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirvdrum/subscriptions","organizations_url":"https://api.github.com/users/nirvdrum/orgs","repos_url":"https://api.github.com/users/nirvdrum/repos","events_url":"https://api.github.com/users/nirvdrum/events{/privacy}","received_events_url":"https://api.github.com/users/nirvdrum/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"85c91e87dd5a1c34cf34f381274e26df02b91c79","created_at":"2015-02-20T21:46:39Z","updated_at":"2015-02-20T21:46:39Z","body":"FWIW, that logic in Capistrano is incredibly confusing.  At the very least, the net-ssh default auth methods didn't play nicely with it.  I fixed that by setting :auth_methods to nil, letting Capistrano fill in its defaults, which generally seem to work.  I handle prompting for the password with `set(:password, Capistrano::CLI.password_prompt(\"Password for #{initial_ssh_user} @ #{ip}: \"))`\r\n\r\nI can update rubber to just set the password retry count to 0.  There's just going to be a segment of users that won't know they need to upgrade to get a fix.  I've seen a large increase in support requests about not being able to connect to servers and getting stuck inside retry loops.  I'm happy I finally was able to narrow it down to this and that the fix is simple enough.  I just wanted to raise the issue so you're aware."}}