{"action":"created","issue":{"url":"https://api.github.com/repos/paramiko/paramiko/issues/22","labels_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/comments","events_url":"https://api.github.com/repos/paramiko/paramiko/issues/22/events","html_url":"https://github.com/paramiko/paramiko/issues/22","id":1110284,"number":22,"title":"doesn't fall back on ipv4 route when there is no ipv6 route","user":{"login":"driesdesmet","id":60802,"avatar_url":"https://avatars.githubusercontent.com/u/60802?v=3","gravatar_id":"","url":"https://api.github.com/users/driesdesmet","html_url":"https://github.com/driesdesmet","followers_url":"https://api.github.com/users/driesdesmet/followers","following_url":"https://api.github.com/users/driesdesmet/following{/other_user}","gists_url":"https://api.github.com/users/driesdesmet/gists{/gist_id}","starred_url":"https://api.github.com/users/driesdesmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driesdesmet/subscriptions","organizations_url":"https://api.github.com/users/driesdesmet/orgs","repos_url":"https://api.github.com/users/driesdesmet/repos","events_url":"https://api.github.com/users/driesdesmet/events{/privacy}","received_events_url":"https://api.github.com/users/driesdesmet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paramiko/paramiko/labels/Needs%20investigation","name":"Needs investigation","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2011-06-24T14:11:54Z","updated_at":"2015-02-27T19:36:51Z","closed_at":null,"body":"I can't connect to a ssh server that has an AAAA record from a client that doesn't have an ipv6 route:\r\n\r\nPython 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) \r\n[GCC 4.2.1 (Apple Inc. build 5646)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import paramiko\r\n>>> client=paramiko.SSHClient()\r\n>>> client.connect(hostname='ssh.alwaysdata.com')\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Library/Python/2.6/site-packages/paramiko/client.py\", line 296, in connect\r\n    sock.connect(addr)\r\n  File \"<string>\", line 1, in connect\r\nsocket.error: [Errno 65] No route to host\r\n\r\nI would expect paramiko to use IPv4 in this case. Connecting with os x's default ssh client works as expected."},"comment":{"url":"https://api.github.com/repos/paramiko/paramiko/issues/comments/76457593","html_url":"https://github.com/paramiko/paramiko/issues/22#issuecomment-76457593","issue_url":"https://api.github.com/repos/paramiko/paramiko/issues/22","id":76457593,"user":{"login":"iElectric","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/iElectric","html_url":"https://github.com/iElectric","followers_url":"https://api.github.com/users/iElectric/followers","following_url":"https://api.github.com/users/iElectric/following{/other_user}","gists_url":"https://api.github.com/users/iElectric/gists{/gist_id}","starred_url":"https://api.github.com/users/iElectric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iElectric/subscriptions","organizations_url":"https://api.github.com/users/iElectric/orgs","repos_url":"https://api.github.com/users/iElectric/repos","events_url":"https://api.github.com/users/iElectric/events{/privacy}","received_events_url":"https://api.github.com/users/iElectric/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T19:36:51Z","updated_at":"2015-02-27T19:36:51Z","body":"I don't have IPv6 address right now, but try connecting to `dogbert.kiberpipa.org`, it doesn't have ipv6 setup on the interface."}}