From kancowitz at yahoo.com Sun Jun 3 11:12:15 2007 From: kancowitz at yahoo.com (Keith Ancowitz) Date: Sun, 3 Jun 2007 11:12:15 -0700 (PDT) Subject: [paramiko] rsync using paramiko remote shell implementation Message-ID: <705601.95044.qm@web35401.mail.mud.yahoo.com> Hello Paramiko Community, I am attempting to use rsync through a paramiko script. The command will look like this... rsync -avz -e myssh.py testfile remotehost:/tmp When this command executes, rsync will fork a command to attempt to start an rsync server on the remote host. The command looks like this... myssh.py remotehost rsync --server -vlogDtprz . /tmp With paramiko, I authenticate the transport and open a session where I execute the command on the remote server but the rsync client produces an error that 0 bytes have been received. By default, ssh with out any extra options like the command above handles the communication between the remote rsync server and the calling client. 1) how can I get the same functionality as ssh to have the communication tunnel? I did a lot of work on an implementation like the demo forward.py, but when I opened a channel with direct-tcp, I was unable to execute a command. 2) What is the difference between direct-tcp and foward-tcp? 3) To create a tunnel, what are the settings a channel/tranport object should have? Am I going about it in the wrong way? Thanks in advance. Keith Ancowitz Software Engineer L-3 Communications Annapolis Junction, MD --------------------------------- Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.lag.net/pipermail/paramiko/attachments/20070603/d7148dd7/attachment.htm From robey at lag.net Sun Jun 10 22:25:19 2007 From: robey at lag.net (Robey Pointer) Date: Sun, 10 Jun 2007 22:25:19 -0700 Subject: [paramiko] release: paramiko 1.7.1 Message-ID: It's been several months, so it was time to release a new version of paramiko. Also, I ran out of pok?mon, so I'm starting the release codenames over again with the names of the children who died in Edward Gorey's "Gashlycrumb Tinies". (Thanks to my boyfriend for the awesome idea!) So, paramiko 1.7.1 "Amy" is released: http://www.lag.net/paramiko/ Mostly this just bug fixes and some additions to API calls. v1.7.1 (Amy) 10jun07 -------------------- * windows SSH agent support can use the 'ctypes' module now if 'win32all' is not available [patch from alexander belchenko] * SFTPClient.listdir_attr() now preserves the 'longname' field [patch from wesley augur] * SFTPClient.get_channel() API added * SSHClient constuctor takes an optional 'timeout' parameter [patch from james bardin] Amy fell down the stairs. robey