class documentation

class twisted.conch.openssh_compat.factory.OpenSSHFactory(factory.SSHFactory): (source)

View In Hierarchy

Undocumented

Class Variable dataRoot Undocumented
Class Variable moduliRoot Undocumented
Method getPublicKeys Return the server public keys.
Method getPrivateKeys Return the server private keys.
Method getPrimes Called when the factory is started to get Diffie-Hellman generators and primes to use. Returns a dictionary mapping number of bits to lists of tuple of (generator, prime).

Inherited from SSHFactory:

Class Variable services Undocumented
Method startFactory Check for public and private keys.
Instance Variable publicKeys Undocumented
Instance Variable privateKeys Undocumented
Instance Variable primes Undocumented
Method buildProtocol Create an instance of the server side of the SSH protocol.
Method getDHPrime Return a tuple of (g, p) for a Diffe-Hellman process, with p being as close to bits bits as possible.
Method getService Return a class to use as a service for the given transport.
Class Variable _log Undocumented

Inherited from Factory (via SSHFactory):

Class Variable protocol Undocumented
Instance Variable numPorts Undocumented
Class Variable noisy Undocumented
Class Method forProtocol Create a factory for the given protocol.
Method logPrefix Describe this factory for log messages.
Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method stopFactory This will be called before I stop listening on all Ports/Connectors.
dataRoot = (source)

Undocumented

(type: str)
moduliRoot = (source)

Undocumented

(type: str)
def getPublicKeys(self): (source)

Return the server public keys.

def getPrivateKeys(self): (source)

Return the server private keys.

def getPrimes(self): (source)

Called when the factory is started to get Diffie-Hellman generators and primes to use. Returns a dictionary mapping number of bits to lists of tuple of (generator, prime).

ReturnsUndocumented (type: dict)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.