#NEWLINE# def buildProtocol( self , addr ) : #NEWLINE# #INDENT# '\n        Create an instance of the server side of the SSH protocol.\n\n        @type addr: L{twisted.internet.interfaces.IAddress} provider\n        @param addr: The address at which the server will listen.\n\n        @rtype: L{twisted.conch.ssh.SSHServerTransport}\n        @return: The built transport.\n        ' #NEWLINE# t = protocol . Factory . buildProtocol ( self , addr ) #NEWLINE# t . supportedPublicKeys = self . privateKeys . keys ( ) #NEWLINE# if ( not addr . primes ) : #NEWLINE# #INDENT# log . msg ( 'disabling diffie-hellman-group-exchange because we cannot find moduli file' ) #NEWLINE# ske = t . supportedKeyExchanges [ : ] #NEWLINE# ske . remove ( 'diffie-hellman-group-exchange-sha1' ) #NEWLINE# t . supportedKeyExchanges = ske #NEWLINE# #UNINDENT# return t