switch sshec2 to using public_dns_name instead of ip