Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good replacement for paramiko in python 3 ? Or is there a port of paramiko for python 3?

I have python 2.7 code based on the paramiko module that I would like to port to python 3.3 but I cannot seem to find a version of paramiko that would work or a proper replacement.

I need the module to work on Windows, Linux and Mac.

Anyone got pointers on this ?

like image 647
woodleg.as Avatar asked Jan 21 '13 20:01

woodleg.as


2 Answers

I have a full port done that passes all tests on Py2.6, 2.7, 3.2 and 3.3. Needs testing. You can find it in pull request #236 on the main github repo.

like image 137
Scott Maxwell Avatar answered Sep 23 '22 06:09

Scott Maxwell


I don't think there is a proper replacement but I would be happy to learn that I am wrong. You can use subprocess but that kind of defeats the purpose of having a nice module.

The most recent official word from paramiko is here:

No py3k news yet, it is still definitely planned (see my above comment), but other priorities have to come first :(

So no timeline but hope.

Edit: There has been some progress but it doesn't seem to be ready for general use yet. You can follow this discussion for updates.

Edit: Not official but here is a paramiko fork that seems to be working in Python 3.

like image 29
user2503795 Avatar answered Sep 22 '22 06:09

user2503795