SSH/SCP

Michele Simionato mis6 at pitt.edu
Tue Nov 5 11:33:49 EST 2002


claird at lairds.com (Cameron Laird) wrote in message news:<usd6h0f6d8g5b2 at corp.supernews.com>...
> In article <Xns92BC9FE0EDD4Fmhueningzedatfuberli at 130.133.1.4>,
> Matthias Huening  <mhuening at zedat.fu-berlin.de> wrote:
> >Hi,
> >
> >I am looking for a SSH/SCP module that will work on Windows (2000/XP)
> >and allow me to connect to a Linux server. Suggestions? 
> 			.
> 			.
> 			.
> pyssh <URL: http://pyssh.sourceforge.net/ >
> and the ssh module (twisted.conch) of Twisted
> <URL: http://www.twistedmatrix.com/ >.

I had a bad experience with pySSH. It only works (with a patch) on Linux. I
don't know about twisted but maybe it is overkill. I simply wanted to
transfer files from my laptop running windows to my desktop running linux.
In this case the simplest way to do is to download (for free) putty
ans use soomething like

os.system('pscp -pw %s %s %s' % (password,filename,hostname))

pscp (Putty secure copy) can also copy directories recursively with
the -r option. It is really a nice little program for simple things.


Michele



More information about the Python-list mailing list