Sherm,
Thanks. It is Net::SSH::Perl module.
When I saw the example in this module, I jumped into air. It is so simple and exactly what I need.
But the install process is long. I had to install many many modules,
and some libraries I think. CPAN seems to stop working last night and this morning.
I had to download each module and install them.
It took me a few hours to do it. When it is done, it works great.
Though it still has this error message:
Argument "ssh-rsa" isn't numeric in numeric eq (==) at /Library/Perl/5.8.1/Net/SSH/Perl/Key/RSA1.pm line 94, <FH> line 2.
As long as it works, I won't pay attention to it, not yet.
ted
On Mar 28, 2005, at 7:36 PM, Sherm Pendley wrote:
On Mar 28, 2005, at 10:29 PM, Ted Zeng wrote:
I am trying to user perl connect to another Mac through ssh and execute a few perl scripts.
Have a look at Net::SSH on CPAN. It installed without complaint on my Panther system, although I haven't used it beyond that.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net Hire me! My resume: http://www.dot-app.org