change to sudoers and added the ssh -n option to ec2-ssh