에러 메세지 : Failed to connect to your instance
Access denied by EC2 Instance Connect. Either your AWS credentials are not valid or you do not have access to the EC2 instance.
- ***.pem 키의 권한을 바꿔준다.
chmod 0400 {key}.pem
- 퍼블릭 DNS를 사용하여 연결한다.
ssh -i {YOUR_KEY_PAIR_FILE.pem} {USER_NAME}@{AWS_PUBLIC_DNS_}ws.com