Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Richard Morse wrote: On 26 Mar 2004, at 11:21 AM, michael higgins wrote: The output, however, must be redirected. I don't see how you can grab it directly with this module. If you're going _from_ windows _to_ unix, it seems to work. At least, I've had the following code working for about a y

Re: Cannot change directory in SSH session

2004-03-26 Thread Richard Morse
On 26 Mar 2004, at 11:21 AM, michael higgins wrote: Rishi Kaundinya M wrote: The output, however, must be redirected. I don't see how you can grab it directly with this module. If you're going _from_ windows _to_ unix, it seems to work. At least, I've had the following code working for about a

Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Rishi Kaundinya M wrote: Hi Michael, From your mail, I understod that W32Perl package is not useful at this moment. Well, it's not fully compatible to Net::SSH::Perl, but still useful. It is not providing required functionality. It is hanging even I executed a command $ssh->cmd("ls -al > t

RE: Cannot change directory in SSH session

2004-03-26 Thread Rishi Kaundinya M
6, 2004 8:18 PM To: Rishi Kaundinya M Cc: 'Richard Morse'; [EMAIL PROTECTED] Subject: Re: Cannot change directory in SSH session Rishi Kaundinya M wrote: > Hi Experts, Oops! Not me. > > I have written the code exactly as you mentioned below in my winows > machine. &

Re: Cannot change directory in SSH session

2004-03-26 Thread michael higgins
Rishi Kaundinya M wrote: Hi Experts, Oops! Not me! I have written the code exactly as you mentioned below in my winows machine. I am getting following error here. Afer the command "ls" is being sent to the remote unix machine, the program is getting stucked. eb96140: Entering interacti

Re: Cannot change directory in SSH session

2004-03-26 Thread Richard Morse
On 25 Mar 2004, at 07:35 PM, michael higgins wrote: Richard Morse wrote: I've been using Net::SSH::W32Perl for quite a while now. I think you may have some confusion on what it is doing. Consider each call to $ssh->cmd($command) as though you were doing a "ssh -c $command" at the command lin

RE: Cannot change directory in SSH session

2004-03-26 Thread Rishi Kaundinya M
ot; in SSH2.pm. Can you tell me how to solve this problem. Thanks & Regards, Rishi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of michael higgins Sent: Friday, March 26, 2004 6:05 AM To: Richard Morse Cc: [EMAIL PROTECTED] Subject: Re: Cannot change directory