fix - handle exceptions on ssh calls.