in reply to My Perl/Expect script aborts when sftp connection stalls at remote destination
Upon looking thru the Net::SSH2 docs for clues, it seems a timeout value for the connection gets set
Since sftp uses ssh2 libs, there probably is some arcane way of you setting the ssh2 options from sftp. Or do like the rest of the modern world, and move up to Net::SSH2.connect ( handle | host [, port [, Timeout => secs ]] )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My Perl/Expect script aborts when sftp connection stalls at remote destination
by salva (Canon) on Feb 25, 2010 at 14:58 UTC |