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...
In reply to ssh on windows by veeruch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |