ssh
ssh configに以下を追加しておけば、slogin ec2でログイン可能。 *は適宜変更。 Host ec2 Hostname ec2-*-*-*-*.ap-northeast-1.compute.amazonaws.com User ec2-user PreferredAuthentications publickey IdentityFile /path/to/*.pem
ssh configに以下を追加しておけば、slogin ec2でログイン可能。 *は適宜変更。 Host ec2 Hostname ec2-*-*-*-*.ap-northeast-1.compute.amazonaws.com User ec2-user PreferredAuthentications publickey IdentityFile /path/to/*.pem