CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Strange messages when using Net::SSH::W32Perl

 



thalapathi
New User

Mar 10, 2006, 12:41 AM

Post #1 of 1 (452 views)
Strange messages when using Net::SSH::W32Perl Can't Post

while running this script on windows xp

use Net::SSH::W32Perl;
my $host = "debian30";
my $user = "user";
my $pass = "password";
my $cmd = "perl debian30_remote_script.pl";
my $ssh = Net::SSH::W32Perl->new($host, port=>22, debug => 0, interactive => 1);
$ssh->login($user, $pass);
$ssh->cmd('cd', "/home/test");
my($stdout, $stderr, $exit) = $ssh->cmd($cmd);


Here the remote script was ran successfully.But i don't know why these strange messages(below) appeared.How can I get rid of these messages?

IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 110
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 110
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 118
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295
IO::String at C:/Perl/site/lib/Net/SSH/Perl/Channel.pm line 110
IO::Socket::INET at C:/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 295

Perl Version 5.8.6

What am I doing wrong? Any help would be much appreciated.
Thanks in advance


(This post was edited by thalapathi on Mar 10, 2006, 10:12 PM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives