まずは(5)インスタンスへの接続
SSH を使用した Linux インスタンスへの接続
いよいよ接続だ。試しにping。
$ ping ec2-*-*9-*-*.ap-northeast-1.compute.amazonaws.com
PING ec2-*-*9-*-*.ap-northeast-1.compute.amazonaws.com (*.*.*.*): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
ダメだ。
IPに向けてもだめ。PING無効にしてあるのかな。
sshで接続。
$ ssh -i *-key-pair-tokyo.pem ec2-user@ec2-*-*9-*-*.ap-northeast-1.compute.amazonaws.com
The authenticity of host 'ec2-*-*9-*-*.ap-northeast-1.compute.amazonaws.com (5*.*9.*.*)' can't be established.
ECDSA key fingerprint is SHA256:g+W/*.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '*.ap-northeast-1.compute.amazonaws.com,*' (ECDSA) to the list of known hosts.
__| __|_ )
_| ( / Amazon Linux AMI
___|\___|___|
https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/
11 package(s) needed for security, out of 13 available
Run "sudo yum update" to apply all updates.
やったぜ。

コメント
コメントを投稿