Prevents SSH check if connecting through a gateway