'Handle reading/writing channel directly. It is also sanitizing the output received.
Parameters
cmd : str, optional
The command to send to the remote device (default : "", just send a new line)
Returns
output : str
The output from the command sent'

def _send_command(self, cmd=u''):

    self.connection.write_channel((cmd + u'\n'))
    time.sleep(1)
    output = self.connection._read_channel_timing()
    output = self.connection.strip_ansi_escape_codes(output)
    output = self.connection.strip_backspaces(output)
    return output
