Net-OpenSSH-More

 view release on metacpan or  search on metacpan

lib/Net/OpenSSH/More.pm  view on Meta::CPAN

=item

Persistent terminal via expect for very fast execution, less forking.

=item

Usage of File::Temp and auto-cleanup to prevent lingering ctl_path cruft.

=item

Ability to manipulate incoming text while streaming the output of commands.

=item

Run perl subroutine refs you write locally but execute remotely.

=item

Many shortcut methods for common system administration tasks

=item

lib/Net/OpenSSH/More.pm  view on Meta::CPAN


no_agent - Pass in a truthy value to disable the SSH agent. By default the agent is enabled.

=item

die_on_drop - If, for some reason, the connection drops, just die instead of attempting reconnection.

=item

output_prefix - If given, is what we will tack onto the beginning of any output via diag method.
useful for streaming output to say, a TAP consumer (test) via passing in '# ' as prefix.

=item

debug - Pass in a truthy value to enable certain diag statements I've added in the module and pass -v to ssh.

=item

home - STRING corresponding to an absolute path to something that "looks like" a homedir. Defaults to the user's homedir.
useful in cases where you say, want to load SSH keys from a different path without changing assumptions about where
keys exist in a homedir on your average OpenSSH using system.



( run in 0.658 second using v1.01-cache-2.11-cpan-d8267643d1d )