Connect using the private DNS name instead of the public name.

Note that for VPC instances, there is no public DNS name, and so this becomes a choice between using the private DNS name or the private IP address