Class t.c.o.f.OpenSSHFactory(factory.SSHFactory):

Part of twisted.conch.openssh_compat.factory View Source View In Hierarchy

No class docstring
Method getPublicKeys Called when the factory is started to get the public portions of the
Method getPrivateKeys Called when the factory is started to get the private portions of the
Method getPrimes Called when the factory is started to get Diffie-Hellman generators and

Inherited from SSHFactory:

Method startFactory This will be called before I begin listening on a Port or Connector.
Method buildProtocol Create an instance of a subclass of Protocol.
Method getDHPrime Return a tuple of (g, p) for a Diffe-Hellman process, with p being as
Method getService Return a class to use as a service for the given transport.

Inherited from Factory (via SSHFactory):

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.
def getPublicKeys(self): (source)
Called when the factory is started to get the public portions of the servers host keys. Returns a dictionary mapping SSH key types to public key strings.
Returns(type: dict )
def getPrivateKeys(self): (source)
Called when the factory is started to get the private portions of the servers host keys. Returns a dictionary mapping SSH key types to Crypto.PublicKey.pubkey.pubkey objects.
Returns(type: dict )
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).
Returns(type: dict )
API Documentation for twisted, generated by pydoctor.