I do not think that there is a correct replacement, but I would be glad to know that I am wrong. You can use subprocess , but this view defeats the goal of having a good module.
The latest official word from paramiko is here :
There is no py3k news, it is still definitely planned (see my comment above), but other priorities should be first :(
So there is no time, but I hope.
Edit: There has been some progress, but it is not yet ready for general use. You can follow this discussion for updates.
Edit: is not official, but here is a paramiko fork that seems to work in Python 3.
source share