NOCpulse::SSHRemoteCommandShell.3pm

Langue: en

Version: 2009-02-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

NOCpulse::SSHRemoteCommandShell - a subclass of NOCpulse::CommandShell that describes access to a command shell via SSH

DESCRIPTION

NOCpulse::SSHRemoteCommandShell is a subclass of NOCpulse::CommandShell that describes access to a command shell via SSH. It makes the presumption that host keys are in sync etc so that no password will be required.

REQUIRES

NOCpulse::CommandShell

INSTANCE METHODS

registerSwitches()
Defines the following:

sshuser = the username to connect with sshhost = the host to connect to

initialize()
Sets up the shellCommand and shellSwitches for execution given the value of the switches registered in registerSwitches()