$ chmod 400 sample-ec2.pem
$ ssh -i .ssh/sample-ec2.pem ec2-user@ec2-54-199-66-255.ap-northeast-1.compute.amazonaws.com
The authenticity of host 'ec2-54-199-66-255.ap-northeast-1.compute.amazonaws.com (54.199.66.255)' can't be established.
ECDSA key fingerprint is SHA256:IfCxY2WJVaCyHRctKmllkxfc2yDbnT1tVHzu1wXOl/o.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'ec2-54-199-66-255.ap-northeast-1.compute.amazonaws.com,54.199.66.255' (ECDSA) to the list of known hosts.
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|\___|___|
コメント