string
|
which(program,
search_path=None)
Search for a file in the given list of directories. |
|
|
|
get_rsh_exec()
Return the name of the rsh-compatible program to use for executing
remote commands. |
|
|
|
shell()
Return the pathname to a Bourne-compatible shell that can be used for
running shell commands. |
|
|
|
_filter_rsh_output(content)
Filter the rsh output like 'Connection to <host> closed.' from
getting printed to the stream. |
|
|
string
|
remote_command(command,
host,
user=None,
capture_stderr=False,
encode=None)
Execute a the given command on a particular host. |
|
|
string
|
_get_remote_user(remoteuser=None)
Return the remote user to use with rsh command |
|
|
list
|
_rsh_cmd(remotehost,
remoteuser=None,
nostdin=True)
Returns the 'ssh' command needed to execute a remote command on the
given host. |
|
|
|
rsh_test(hosts)
Test remote commands to and from one or more hosts. |
|
|