in reply to Re^3: net::ssh::Perl connecting to f-secure ssh server
in thread net::ssh::Perl connecting to f-secure ssh server

Wow that's a lot to take in.

This is just a quick reply on part of what you said.

If I use shell() I see the "welcome message" and command prompt. I can type stuff and it echoes to screen but that's it. I don't see any responses from the server.

I was trying the exit command simply as that's the simplest command I have and should just disconnect and end the Perl script.

I've not tried Net::SSH and was hoping not to as latter on I may need to run a command several (hundred) times with different parameters. Net::SSH::Perl lets me keep the link open and so save time rather than reconnect for each iteration.

I'll report back further one I find out what I can find out.

Thanks again for the pointers.

  • Comment on Re^4: net::ssh::Perl connecting to f-secure ssh server

Replies are listed 'Best First'.
Re^5: net::ssh::Perl connecting to f-secure ssh server
by mr_mischief (Monsignor) on Oct 09, 2007 at 11:50 UTC
    If you're wanting to keep the connection going, you might take a look at Net::SSH2 (as opposed to Net::SSH). It appears to do what you want as well, but it's a wrapper around a library for SSH.