No class docstring
Method buildProtocol Create an instance of the server side of the SSH protocol.
Method getPublicKeys 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.
Method getPrivateKeys Called when the factory is started to get the private portions of the servers host keys. Returns a dictionary mapping SSH key types to twisted.conch.ssh.keys.Key objects.
Method getPrimes Diffie-Hellman primes that can be used for the diffie-hellman-group-exchange-sha1 key exchange.
Method getService Return a class to use as a service for the given transport.

Inherited from SSHFactory:

Method startFactory Check for public and private keys.
Method getDHPrime Return a tuple of (g, p) for a Diffe-Hellman process, with p being as close to bits bits as possible.

Inherited from Factory (via SSHFactory):

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.
def buildProtocol(self, addr):

Create an instance of the server side of the SSH protocol.

ParametersaddrThe address at which the server will listen. (type: twisted.internet.interfaces.IAddress provider)
ReturnsThe built transport. (type: twisted.conch.ssh.transport.SSHServerTransport)
def getPublicKeys(self):

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):

Called when the factory is started to get the private portions of the servers host keys. Returns a dictionary mapping SSH key types to twisted.conch.ssh.keys.Key objects.

Returns (type: dict)
def getPrimes(self):

Diffie-Hellman primes that can be used for the diffie-hellman-group-exchange-sha1 key exchange.

ReturnsThe primes and generators. (type: dict mapping the key size to a list of (generator, prime) tupple.)
def getService(self, trans, name):

Return a class to use as a service for the given transport.

Returns (type: subclass of service.SSHService)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.