AWS - Connecting to EC2 instance via SSH using key pair (pem file).
ssh -i /path/my-key-pair.pem my-instance-user-name@my-instance-public-dns-name