SSH

Connect to EC2 instance with key-pair via ssh

ssh ec2-user@1.2.3.4 -i key.pem

The second option

  1. Launch an instance without keys

  2. Launch

  3. Add your public key to cat ~/.ssh/authorized_keys

  4. connect with correct username ssh ubuntu@54.144.193.32

Last updated

Was this helpful?