NAME

App::Manoc::ManifoldRole::SSH

VERSION

version 2.99.2

METHODS

cmd(@args)

Execute a command and return its output via capture

system([$opts], @args)

Execute a command via system discarding output.

connect

Create the Net::OpenSSH session. Debug will be enabled if MANOC_DEBUG_SSH environment var is set.

get_error

Return the session error

close

Close current session.

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.