[paramiko] Using paramiko.SFTPclient.get

Manpreet Singh Khurana manpreetsk at gmail.com
Mon Mar 5 07:45:02 PST 2007


Hi,
   I have a script written in python which function's as follows
1 establishes a ssh connection using paramiko.
2. establishes a SFTP transport for getting data from remote host
using paramiko.
3. Get the list of the file from remote host which needs to be SFTPped
4 now fetch all the files by using the "get "command

The problem is that the script runs fine for some arbiratary time
(sometimes 30, 40 mins or 4hrs or more) and doing all the steps given
above but suddenly it stops without any clues.

I have exceptins at each point in my code but none of them are hit.

Is the usage of "get" function a problem or a machine problem.

Can somebody suggest any solutions.

I have paramiko 1.5.3 and running on Solaris 9 sun netra 210.
Python release used is 2.4

I have another solaris9 sun4u sparc SUNW,UltraAX-i2 and this script
runs fine without any problem on it for any number os hours or days.

Manpreet



More information about the paramiko mailing list