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

def setUp(self):

    SSHCommandClientEndpointTestsMixin.setUp(self)
    self.hostKeyPath = FilePath(self.mktemp())
    self.knownHosts = KnownHostsFile(self.hostKeyPath)
    self.knownHosts.addHostKey(self.hostname, self.factory.publicKeys['ssh-rsa'])
    self.knownHosts.addHostKey(networkString(self.serverAddress.host), self.factory.publicKeys['ssh-rsa'])
    self.knownHosts.save()
