in reply to un-inplemented function in Net::SSH::Perl for Activestate Perl?
BrowserUK:
I tried your suggestions of modifying the source for net/ssh/perl.pm (using the environment method). It no longer complains about the function. However, it then stopped when trying to set the socket non-blocking. After doing some research, I found that you can not do that on windows. I commented out this line as well. Now the program actually runs, but does not run successfully.
What happens now is that it connects up and sends the username and password pair. It never returns from when it sends the commands, just sits there and hangs forever (or at least the hour I waited for the ls command) I am not sure what to try after this but I have the same problem using Syp's suggestion.
Syphilis:
I tried your suggestion as well. Stepping through the program, it connects to the server, sends the username and password to log in, then sends the command down the socket. This has the same issue as Net::SSH::Perl after Browsers mods. It never returns from sending down the command. I do not know if the linux box can handle ssh2 but it is Red-Hat 2.4.26-1.ll.rh90.ccrmasmp SMP. Man SSH has the -s subsystem command for ssh2 but no other mention of it. Unfortunately I can not update this machine.
Any other suggestions? I really appreciate the help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: un-inplemented function in Net::SSH::Perl for Activestate Perl?
by BrowserUk (Patriarch) on Apr 11, 2006 at 11:34 UTC |