niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
Cant locate object method _session_channel via package Net::SSH::Perl::SSH1
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
panku88@gmail.com
*nix forums beginner


Joined: 13 Jul 2006
Posts: 2

PostPosted: Thu Jul 13, 2006 10:15 pm    Post subject: Cant locate object method _session_channel via package Net::SSH::Perl::SSH1 Reply with quote

Hello,
I am trying to write a perl script using Net::SFTP which will
login in to a remote file server running on https (port 443, its a
Tumbleweed server), browse through some dirs and transfer some files
dynamically. I started off with teh login script, but already ran in to
a problem, which i am unable to understand. For the Net::SFTP->new()
call as belows:

my %args = (user => some_userid, password => some_passwd, debug => 1,
ssh_args =>
[port => 443]);
my $sftp = Net::SFTP->new($remote_svr,%args);

The debug output i got is:
abcd.com: Reading configuration data /home/my_user/.ssh/config
abcd.com: Reading configuration data /etc/ssh_config
abcd.com: Connecting to remoteserver.com, port 443.
abcd.com: Remote protocol version ., remote software version
abcd.com: Net::SSH::Perl Version 1.23, protocol version 1.5.
abcd.com: No compat match: .
abcd.com: Connection established.
Can't locate object method "_session_channel" via package
"Net::SSH::Perl::SSH1" at
/opt/third-party/lib/perl-5.6.0/site/Net/SFTP.pm line 52.

Can anyone let me know whats going wrong. Any help is highly
appreciated.
Thanks in advance,
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 11:43 am | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Best method to search kristy420 Oracle 0 Tue Nov 18, 2008 6:34 pm
No new posts Need Help with Program in Perl on a Netware Server fhadzocos@gmail.com Perl 3 Fri Jul 21, 2006 1:57 pm
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problem with Win32-SerialPort over bluetooth @ windows + ... ctloh Perl 0 Fri Jul 21, 2006 8:08 am
No new posts how can i use fstream object to clear file's content? horneye C++ 2 Fri Jul 21, 2006 7:52 am

Credit Cards | Mortgages | Share Prices | Capital One Credit Card | Internet Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3214s ][ Queries: 16 (0.1634s) ][ GZIP on - Debug on ]