human
Complete the below
def get_ssh_dispatcher(connection, context):

    '''':param Message context: The eliot message context to log.
    :param connection: The SSH connection run commands on.'
    '''
 ... What is a the Python code you requested?
assistant
#Here is the Python code you requested.
    @deferred_performer
    def perform_run(dispatcher, intent):
        context.bind(message_type='flocker.provision.ssh:run', command=intent.log_command_filter(intent.command)).write()
        endpoint = SSHCommandClientEndpointWithTTY.existingConnection(connection, intent.command)
        d = Deferred()
        connectProtocol(endpoint, CommandProtocol(deferred=d, context=context))
        return d
    return TypeDispatcher({Run: perform_run, Sudo: perform_sudo, Put: perform_put, Comment: perform_comment})