Package osh :: Package command :: Module testssh
[frames] | no frames]

Module testssh

source code

testssh

Determines if ssh connectivity to a cluster is working. Can only be run against a cluster, e.g. osh @mycluster [ testssh ] $.

ssh is configured correctly if each node name is printed, along with the output from the test command, hello, for example:

   ('115', 'hello')
   ('116', 'hello')
   ('117', 'hello')

If your ssh agent is set up properly, then you may see some additional output the first time you contact a cluster, e.g. Warning: Permanently added '192.168.140.115' (RSA) to the list of known hosts.

Functions
 
testssh()
Determines if ssh connectivity to a cluster is working.
source code
Function Details

testssh()

source code 

Determines if ssh connectivity to a cluster is working. Can only be run against a cluster, e.g. osh(remote('mycluster', testssh()), out()). ssh is configured correctly if each node name is printed, along with the output from the test command, hello, e.g. ('115', 'hello'), ('116', 'hello'), ('117', 'hello'). If your ssh agent is set up properly, then you may see some additional output the first time you contact a cluster, e.g. Warning: Permanently added '192.168.140.115' (RSA) to the list of known hosts.