in reply to Re: ssh not working
in thread ssh not working

yes i am connecting from windows to Aix server and Sunsolaris
copy of files from windows to Aix and SunSolaris servers
can i use NET::SCP also in NET::SSH::w32Perl?

Replies are listed 'Best First'.
Re^3: ssh not working
by lukeyboy1 (Beadle) on Jul 04, 2006 at 14:43 UTC
    Hi. You'd need to use them separately, as advertised on CPAN. However, the overhead, programming wise, is completely minimal. You probably, though, want to avoid having a username/password wired directly into a perl script, I would have thought......!

      thanks you...

      my($stdout, $stderr, $exit) = $ssh->cmd("/bin/bash /bin/ls -lrt");

      still iam getting like this

      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 channel 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
      still busy it is hanging here