open my $remote, '| ssh otheruser@remotehost' or die "Couldn't connect: $!"; print {$remote} "echo Test\n";