[ssh] fix python ec2 hostname