ssh login to ec2 command from ubutu code example Example: ssh into ec2 from ubuntu sudo chmod 400 ec2.pem ssh -i ec2.pem [email protected]