@staticmethod
def enter(connection, command):
    """
        Enter a command to the channel (with '
' appended)

        @param connection: Connection to the host
        @type connection: L{Connection}

        @param command: command to execute
        @type command: str

        @return: number of bytes actually sent
        @rtype: int
        """
    return connection.channel.send(command + '\n')
