in reply to Runing Remote Command

CPAN is your friend.
I personally quite like Net::SSH2.

~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."