in reply to Re^2: Calling a remote ssh connection from perl
in thread Calling a remote ssh connection from perl

see haukex' suggestion to use Net::OpenSSH, I second this.

And you've changed the original post I replied to, this makes reading and understanding the thread very hard for others.

(it was system("ssh root@remoteIP /usr/bin/ls"); )

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery