veeruch has asked for the wisdom of the Perl Monks concerning the following question:
Please any one help me..
I have perl enviroment in windows.I want ssh and Scp to
AIX,Solaris from my windows machine.i using Net::SSH::W32Perl
use Net::SSH::W32Perl; my $ssh = Net::SSH::W32Perl->new($host,debug=>1); $ssh->login('$user','$pass'); my($stdout, $stderr, $exit) = $ssh->cmd("/bin/bash /bin/ls -lrt"); print "$stdout, $stderr, $exit";
system is hanging no output and error....
while iam using option debug=>1 ,it is printing and also system is hanging .
iam giving last few lines, while i use the debug=>1 option
indamaaaf31786: Got channel open confirmation, requesting shell.
indamaaaf31786: Requesting service shell on channel 0.
indamaaaf31786: channel 1: new client-session
indamaaaf31786: Requesting channel_open for chann
l 1.
indamaaaf31786: Entering interactive session.
indamaaaf31786: Sending command: /bin/bash /bin/ls -lrt
indamaaaf31786: Requesting service exec on channel 1.
indamaaaf31786: channel 1: open confirm rwindow 0 rmax 32768
indamaaaf31786: input_channel_request: rtype exit-status reply 0
After these lines it is hanging what is problem ?.please guide me...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ssh on windows
by Joost (Canon) on Jul 05, 2006 at 05:56 UTC | |
| |
|
Re: ssh on windows
by shmem (Chancellor) on Jul 05, 2006 at 07:31 UTC | |
by veeruch (Sexton) on Jul 05, 2006 at 07:58 UTC | |
by shmem (Chancellor) on Jul 05, 2006 at 08:09 UTC | |
by veeruch (Sexton) on Jul 05, 2006 at 14:37 UTC | |
by veeruch (Sexton) on Jul 05, 2006 at 14:50 UTC |