'Configure an SSH server with password authentication enabled for a
well-known (to the tests) account.'

def setUp(self):

    SSHCommandClientEndpointTestsMixin.setUp(self)
    knownHosts = KnownHostsFile(FilePath(self.mktemp()))
    knownHosts.addHostKey(self.hostname, self.factory.publicKeys['ssh-rsa'])
    knownHosts.addHostKey(networkString(self.serverAddress.host), self.factory.publicKeys['ssh-rsa'])
    self.endpoint = SSHCommandClientEndpoint.newConnection(self.reactor, '/bin/ls    -l', self.user, self.hostname, self.port, password=self.password, knownHosts=knownHosts, ui=FixedResponseUI(False))
