Sorry to clog again etc. but since I did see some interest last time round I thought I'd announce it: my Perl SSH client is now on CPAN as Net::SSH::Perl.

For those keeping score, here are the big nice things changed since version 0.02 (last time I posted on the subject):

So there you are. Please use it and if you find it useful either msg me or email me (address in the README).

Replies are listed 'Best First'.
Re: Net::SSH Update: Net::SSH::Perl
by mirod (Canon) on Feb 21, 2001 at 12:27 UTC

    It installed flawlessly on my Perl6/Mandrake7.2 Intel box, and seems to work fine, good job!

    You should just state in the documentation that the cmd method returns a list ($stdout, $stderr, $exit), I thought you had to use methods on the ssh object to get them and I had to go back to the source to figure out the actual behaviour.

      Wonderful news about the install, thanks. :)

      And also thanks about the tip for the docs. Actually the docs are what I need to improve next. The cmd method will probably undergo some changes to make it more extensible; since that contains the main client loop, odds are users may want to do more than just grab the stdout/stderr/exit status from the command. It'll be backwards-compatible, of course, but in future versions you'll be able to register handlers for different packet types as they arrive from sshd.

Re: Net::SSH Update: Net::SSH::Perl
by SyN/AcK (Scribe) on Jul 24, 2003 at 06:51 UTC

    Hmmm... I just tried to install this on my box, and I'm getting a lot of errors. I think it finally compiled, I was having trouble using perl -MCPAN -e 'install Net::SSH::Perl', and so I did it with the makefile. When I run it though, its saying cannot find loadable module Math::Pari in @INC.