What is a good replacement for paramiko in python 3 ? Or is there a port of paramiko for python 3?
Solution 1
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.
Solution 2
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.
Solution 3
While you wait for paramiko on Python 3, you can use putty.
os.system('C:\putty\psftp ' + USER_NAME +'@' + SERVER+ ' -pw ' +PASS+' -b '+ SFTPscript)
woodleg.as
Updated on July 12, 2022Comments
-
woodleg.as almost 2 years
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 ?
-
woodleg.as about 11 yearsThank You! I guess I will have to monitor the paramiko site for any news and be patient about porting my code.
-
user2503795 almost 11 yearsI have updated my reply with the link to a working fork (I haven't fully tested but that is the claim of the author)