2010/7/24 Noah <[email protected]>:
>
> But what If I just want to send a bunch of lines of text without creating a
> file. How can I do it?
>
>
Try Net::SSH::Perl.
my $ssh = Net::SSH::Perl->new("host1");
$ssh->login("user1", "pass1");
$ssh->cmd("foo");
$ssh->cmd("bar");
SSH-2 fully supports running more than one command over the same connection.
--
Jeff Pang
http://home.arcor.de/pangj/
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/