[Ssh-sftp-perl-users] Connection Problems to specific SFTP Servers, plus patch to fix
Brought to you by:
dbrobins
From: <Sea...@pr...> - 2005-07-27 16:04:39
|
Hello All, We're trying to automate an sftp file transfer with a partner who uses Sterling Commerce -- It uses openssh under the covers, but it must be tweaked in some way because Net::SFTP errors out when it connects to their server. When we try to connect, we get this error: Error: Received disconnect message: Unsupported request (shell). at /opt/perl-5.8.2/lib/site_perl/5.8.2/Net/SSH/Perl/SSH2.pm line 281 After further investigation, we determined that Net::SSH::Perl is always opening a channel for shell -- Which makes perfect sense, except when you are doing SFTP and can't get a shell channel. So we whipped together a path for Net::SSH::Perl which make that an optional behavior, and a patch for Net::SFTP, which makes it use that option. The patches are against the latest CVS -- there didn't seem to be a v1_28 tag in CVS, but the files don't seem to be that different from HEAD. --Sean McMillan, Priority Health ** ** ** PRIVILEGED AND CONFIDENTIAL ** ** ** This email transmission contains privileged and confidential information=20 intended only for the use of the individual or entity named above. Any=20 unauthorized review, use, disclosure or distribution is prohibited and=20 may be a violation of law. If you are not the intended recipient or a=20 person responsible for delivering this message to an intended recipient,=20 please delete the email and immediately notify the sender via the email=20 return address or mailto:pos...@pr.... Thank you. - end - =0D |