Re: [Ssh-sftp-perl-users] sftp to a Microsoft server regularly hangs
Brought to you by:
dbrobins
From: Howard, C. <Ho...@pr...> - 2009-03-12 20:05:40
|
Solution! I found a google hit about not having the GMP library properly installed, causing SFTP to go into a much slower mode. I had to track down a permissions problem in my perl install directory tree, but eventually I found it. Now the negotiations are going much faster, more like what I see with the sftp commandline tool. Maybe even faster than that. Chris Howard -----Original Message----- From: Howard, Chris Sent: Thursday, March 12, 2009 11:11 AM To: Howard, Chris; 'ssh...@li...' Subject: RE: sftp to a Microsoft server regularly hangs I've done a little more research on this but still could use help. The remote server is an F-Secure 3.2.0 and I've seen some google hits about it being in some ways incompatible with OpenSSH keys. But otherwise I haven't found any particular indictment of the F-Secure server with perl SSH or SFTP. When I use my command line SFTP took it works fine. When I try my perl SFTP script it rarely gets through and when it does it takes a very long time in negotiation. Chris -----Original Message----- From: Howard, Chris Sent: Wednesday, March 11, 2009 10:46 AM To: ssh...@li... Subject: sftp to a Microsoft server regularly hangs I'm trying to use perl sftp to connect with a remote site and upload/download some files. The remote server says it is SSH Windows NT Server using protocol version 2.0. If I do this in the middle of the night, presumably things are quieter, it usually goes through without a problem. If I run my script during the day it gets through a few steps (I have debugging turned on) but eventually just seems to peter out during the negotiations, frequently while doing something about "NEWKEYS". Is there anything I can do on my end to make the protocol negotiation and all of this stuff go more quickly? in the hopes of getting the connection established and my traffic completed in a reliable fashion. Chris Howard |