Ask a Question related to PERL Modules, Design and Development.
-
seng@ctfhotels.com #1
Aargh. SFTP problems
I have a Windows machine attempting to start an sftp session with a
Linux OpenSSH host. I have Net::SSH::SFTP, Net::SSH::W32Perl and
required modules installed.
I get the following debug output:
dcasrv8: Connecting to ****.*********.com, port 22.
dcasrv8: Socket created, turning on blocking...
dcasrv8: Remote protocol version 2.0, remote software version
OpenSSH_3.7p1
dcasrv8: Net::SSH::Perl Version 1.25, protocol version 2.0.
dcasrv8: No compat match: OpenSSH_3.7p1.
dcasrv8: Connection established.
<... eliminated for clarity ...>
dcasrv8: Login completed, opening dummy shell channel.
dcasrv8: channel 0: new [client-session]
dcasrv8: Requesting channel_open for channel 0.
dcasrv8: channel 0: open confirm rwindow 0 rmax 32768
dcasrv8: Got channel open confirmation, requesting shell.
dcasrv8: Requesting service shell on channel 0.
dcasrv8: channel 1: new [client-session]
dcasrv8: Requesting channel_open for channel 1.
Received disconnect message: Unsupported request (shell).
at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 281
The snippet of code that makes the call is this:
$sftp = Net::SFTP->new($SSH_HOST, user=>$SSH_USER,
password=>$SSH_PWD, debug=>1, ssh_args=> [protocol=>2, port=>$SSH_PORT,
use_pty=>0]);
Does the use_pty parameter control requests for a shell?
The host is accessible (and drops into an sftp shell!) from the same
machine using the same creds with an sftp client.
Any ideas?
TIA,
seng
seng@ctfhotels.com Guest
-
connection problems - ftp & sftp-pls help!
when we try to connect now (via ftp or sftp) we get the error: "Contribute has disabled your connection to this website because an unknown error... -
SFTP Connection Problems
I'm attempting to set up a new connection using SFTP. Every time I try to connect, I receive a "Please make sure that you have sufficient... -
Help with Net::SFTP when sftp on unix works.
Running on AIX, the unix sftp will connect to my site just fine, but the Net::SFTP perl modules hangs at one point. Here are the logs for the... -
MX 2004: Crashy Projectors on OS X (AARGH!)
I've used Director on and off for years and havent ever had problems with creating projectors... until MX 2004.. I've got a pretty simple .dir...... -
Net::SFTP problems
I'm trying to get Net::SFTP working and I've spent several hours with the CPAN shell and ran into a few walls including couple of Math modules...



Reply With Quote

