Check return value of ht_ssh calls