|
- Method resolution order:
- CygwinSshCommand
- nrvr.remote.ssh.SshCommand
- __builtin__.object
Methods defined here:
- __init__(self, sshParameters, argv, exceptionIfNotZero=True, maxConnectionRetries=10, tickerForRetry=True)
- Create new CygwinSshCommand instance.
See nrvr.remote.ssh.SshCommand.
Class methods defined here:
- isGuiAvailable(cls, sshParameters, alsoNeedsScreen=False) from __builtin__.type
- Return whether GUI is available.
Should be user to be meaningful.
Will wait until completed.
sshParameters
an SshParameters instance.
- sleepUntilIsGuiAvailable(cls, sshParameters, alsoNeedsScreen=False, checkIntervalSeconds=3.0, ticker=False, extraSleepSeconds=5.0) from __builtin__.type
- If GUI available return, else loop sleeping for checkIntervalSeconds.
Should be user to be meaningful.
As implemented first calls SshCommand.sleepUntilIsAvailable(sshParameters).
sshParameters
an SshParameters instance.
Class methods inherited from nrvr.remote.ssh.SshCommand:
- acceptKnownHostKey(cls, sshParameters, connectTimeoutSeconds=None) from __builtin__.type
- Accept host's key.
Will wait until completed.
ipaddress
IP address or domain name.
- commandsUsedInImplementation(cls) from __builtin__.type
- Return a list to be passed to SystemRequirements.commandsRequired().
This class can be passed to SystemRequirements.commandsRequiredByImplementations().
- hasAcceptedKnownHostKey(cls, sshParameters) from __builtin__.type
- Return whether an attempt to acceptKnownHostKey() succeeds.
Will wait until completed with success or failure.
sshParameters
an SshParameters instance to use in the attempt.
return
whether success.
- isAvailable(cls, sshParameters, probingCommand='hostname') from __builtin__.type
- Return whether probingCommand succeeds.
Will wait until completed.
- removeKnownHostKey(cls, ipaddress) from __builtin__.type
- Remove line from ~/.ssh/known_hosts file.
- sleepUntilHasAcceptedKnownHostKey(cls, sshParameters, checkIntervalSeconds=3.0, ticker=False, extraSleepSeconds=5.0) from __builtin__.type
- If available return, else loop sleeping for checkIntervalSeconds.
sshParameters
an SshParameters instance to use in the attempts.
- sleepUntilIsAvailable(cls, sshParameters, checkIntervalSeconds=5.0, ticker=False, probingCommand='hostname') from __builtin__.type
- If available return, else loop sleeping for checkIntervalSeconds.
Data descriptors inherited from nrvr.remote.ssh.SshCommand:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- output
- Collected output string of command.
May contain extraneous leading or trailing newlines and whitespace.
- returncode
- Returncode of command or 255 if an ssh error occurred.
Could be None.
|