I would like to know if PySSH modules work on windows.
If it works then could you please send me sample code that will
connect to Unix m/c and download a file from that m/c
using Cygwin or any other ssh client.
From: Mark W. Alexander <slash@do...> - 2005-08-11 10:42:34
On Thu, Aug 11, 2005 at 03:17:41PM +0530, Devyani wrote:
> I would like to know if PySSH modules work on windows.
> If it works then could you please send me sample code that will
> connect to Unix m/c and download a file from that m/c
> using Cygwin or any other ssh client.
I doubt it will work as is. It may work with Cygwin, but it checks for os.name
== 'POSIX' so there will probably need to be some tweaking.
Pyssh is currently just a wrapper around the ssh binaries, with nothing
specific for scp. You may also want to look Twisted's Conch module
(http://twistedmatrix.com/projects/conch/) to see if it's more suited to your
Mark W. Alexander
The contents of this message authored by Mark W. Alexander are released under
the Creative Commons Attribution-NonCommercial license. Copyright of quoted
materials, if any, are retained by the original author(s).