'Create and return a new L{SSHCommandClientEndpoint} using the
C{existingConnection} constructor.'

def create(self):

    factory = Factory()
    factory.protocol = Protocol
    connected = self.endpoint.connect(factory)
    channelLookup = self.realm.channelLookup.copy()
    try:
        self.realm.channelLookup['session'] = WorkingExecSession
        (server, client, pump) = self.connectedServerAndClient(self.factory, self.reactor.tcpClients[0][2])
    finally:
        self.realm.channelLookup.clear()
        self.realm.channelLookup.update(channelLookup)
    self._server = server
    self._client = client
    self._pump = pump
    protocol = self.successResultOf(connected)
    connection = protocol.transport.conn
    return SSHCommandClientEndpoint.existingConnection(connection, '/bin/ls    -l')
