class documentation

A mocked-up factory based on twisted.conch.ssh.factory.SSHFactory.

Method getPrimes Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group.
Method getPrivateKeys Return the private keys that authenticate this server.
Method getPublicKeys Return the public keys that authenticate this server.
Class Variable services Undocumented

Inherited from SSHFactory:

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.
Method startFactory Check for public and private keys.
Instance Variable primes Undocumented
Instance Variable privateKeys Undocumented
Instance Variable publicKeys Undocumented
Class Variable _log Undocumented

Inherited from Factory (via SSHFactory):

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

Diffie-Hellman primes that can be used for key exchange algorithms that use group exchange to establish a prime / generator group.

Returns
dict mapping the key size to a list of (generator, prime) tuple.The primes and generators.
def getPrivateKeys(self): (source)

Return the private keys that authenticate this server.

def getPublicKeys(self): (source)

Return the public keys that authenticate this server.