{"action":"closed","issue":{"url":"https://api.github.com/repos/paramiko/paramiko/issues/412","labels_url":"https://api.github.com/repos/paramiko/paramiko/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/paramiko/paramiko/issues/412/comments","events_url":"https://api.github.com/repos/paramiko/paramiko/issues/412/events","html_url":"https://github.com/paramiko/paramiko/issues/412","id":44706074,"number":412,"title":"2-Factor auth does not work","user":{"login":"owais","id":46186,"avatar_url":"https://avatars.githubusercontent.com/u/46186?v=3","gravatar_id":"","url":"https://api.github.com/users/owais","html_url":"https://github.com/owais","followers_url":"https://api.github.com/users/owais/followers","following_url":"https://api.github.com/users/owais/following{/other_user}","gists_url":"https://api.github.com/users/owais/gists{/gist_id}","starred_url":"https://api.github.com/users/owais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owais/subscriptions","organizations_url":"https://api.github.com/users/owais/orgs","repos_url":"https://api.github.com/users/owais/repos","events_url":"https://api.github.com/users/owais/events{/privacy}","received_events_url":"https://api.github.com/users/owais/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paramiko/paramiko/labels/Bug","name":"Bug","color":"a04040"},{"url":"https://api.github.com/repos/paramiko/paramiko/labels/Keys","name":"Keys","color":"bfdadc"},{"url":"https://api.github.com/repos/paramiko/paramiko/labels/Needs%20investigation","name":"Needs investigation","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-02T16:13:57Z","updated_at":"2015-11-03T23:51:29Z","closed_at":"2015-11-03T23:51:29Z","body":"2-Factor auth when using SSH + google authenticator lib does not work with paramiko. Password logins are disabled.\r\n\r\n```\r\nDEBUG:paramiko.transport:Switch to new keys ...\r\nDEBUG:paramiko.transport:Adding ssh-rsa host key for server.com: #############\r\nDEBUG:paramiko.transport:Trying SSH agent key *********************************************\r\nDEBUG:paramiko.transport:userauth is OK\r\nINFO:paramiko.transport:Authentication (publickey) failed.\r\nDEBUG:paramiko.transport:Trying SSH agent key *********************************************\r\nDEBUG:paramiko.transport:userauth is OK\r\nINFO:paramiko.transport:Authentication (publickey) failed.\r\nDEBUG:paramiko.transport:Trying SSH agent key *********************************************\r\nDEBUG:paramiko.transport:userauth is OK\r\nINFO:paramiko.transport:Authentication (publickey) failed.\r\nDEBUG:paramiko.transport:Trying SSH agent key *********************************************\r\nDEBUG:paramiko.transport:userauth is OK\r\nINFO:paramiko.transport:Authentication continues...\r\nDEBUG:paramiko.transport:Methods: [u'keyboard-interactive']\r\nDEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes\r\nWARNING:paramiko.transport:Oops, unhandled type 3\r\n```\r\n\r\n`keyboard-interactive` is enabled on the server in addition to secret key auth but paramiko does not ask for authorization code\r\n"}}