in reply to Calling a remote ssh connection from perl

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

The double quotes interpolate so that \r is going to become a carriage return. That's one source of problems.

Some other tips:


🦛