in reply to Re^2: Having trouble installing Module on Strawberry Perl
in thread Having trouble installing Module on Strawberry Perl
Net::SSH::Perl and SSH or OpenSSH, or maybe just log in as the target user directly:
open my $remote, '| ssh otheruser@remotehost' or die "Couldn't connect: $!"; print {$remote} "echo Test\n";
But that way, you don't get much interactivity and this only works if you have passwordless keys set up or store the key in pageant or another ssh keyring.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Having trouble installing Module on Strawberry Perl
by taffer (Novice) on Jan 16, 2009 at 20:55 UTC | |
by almut (Canon) on Jan 16, 2009 at 22:02 UTC | |
by syphilis (Archbishop) on Jan 16, 2009 at 22:37 UTC |