Fix send_cmd() with ssh module