{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/pyfg/issues/6","repository_url":"https://api.github.com/repos/spotify/pyfg","labels_url":"https://api.github.com/repos/spotify/pyfg/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/spotify/pyfg/issues/6/comments","events_url":"https://api.github.com/repos/spotify/pyfg/issues/6/events","html_url":"https://github.com/spotify/pyfg/issues/6","id":133184777,"number":6,"title":"Paramiko disconnects with EOFError","user":{"login":"adieball","id":6988389,"avatar_url":"https://avatars.githubusercontent.com/u/6988389?v=3","gravatar_id":"","url":"https://api.github.com/users/adieball","html_url":"https://github.com/adieball","followers_url":"https://api.github.com/users/adieball/followers","following_url":"https://api.github.com/users/adieball/following{/other_user}","gists_url":"https://api.github.com/users/adieball/gists{/gist_id}","starred_url":"https://api.github.com/users/adieball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adieball/subscriptions","organizations_url":"https://api.github.com/users/adieball/orgs","repos_url":"https://api.github.com/users/adieball/repos","events_url":"https://api.github.com/users/adieball/events{/privacy}","received_events_url":"https://api.github.com/users/adieball/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-12T08:38:33Z","updated_at":"2016-02-12T17:21:12Z","closed_at":null,"body":"Hi\r\n\r\nI tried to connect to a FG with plan basic Paramiko and struggled. I then tested with your module and basically got the same error:\r\n\r\n```\r\nfrom pyFG import FortiOS\r\nd = FortiOS('10.8.20.102')\r\nd.open()\r\nTraceback (most recent call last):\r\n  File \"<input>\", line 1, in <module>\r\n  File \"/Library/Python/2.7/site-packages/pyFG/fortios.py\", line 94, in open\r\n    self.ssh.connect(**cfg)\r\n  File \"build/bdist.macosx-10.11-intel/egg/paramiko/client.py\", line 325, in connect\r\n    t.start_client()\r\n  File \"build/bdist.macosx-10.11-intel/egg/paramiko/transport.py\", line 492, in start_client\r\n    raise e\r\nEOFError\r\n```\r\n\r\nAny idea what this could be? It looks like it's only happening with FortiOS Devices, I can connect to normal Linux hosts without any issues.\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/pyfg/issues/comments/183419402","html_url":"https://github.com/spotify/pyfg/issues/6#issuecomment-183419402","issue_url":"https://api.github.com/repos/spotify/pyfg/issues/6","id":183419402,"user":{"login":"dbarrosop","id":6246622,"avatar_url":"https://avatars.githubusercontent.com/u/6246622?v=3","gravatar_id":"","url":"https://api.github.com/users/dbarrosop","html_url":"https://github.com/dbarrosop","followers_url":"https://api.github.com/users/dbarrosop/followers","following_url":"https://api.github.com/users/dbarrosop/following{/other_user}","gists_url":"https://api.github.com/users/dbarrosop/gists{/gist_id}","starred_url":"https://api.github.com/users/dbarrosop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbarrosop/subscriptions","organizations_url":"https://api.github.com/users/dbarrosop/orgs","repos_url":"https://api.github.com/users/dbarrosop/repos","events_url":"https://api.github.com/users/dbarrosop/events{/privacy}","received_events_url":"https://api.github.com/users/dbarrosop/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T17:21:12Z","updated_at":"2016-02-12T17:21:12Z","body":"Have you tried with paramiko directly with the same results? Could you open an issue with them?"}}