ssh를 이용해 EC2 서버에 접속하려다가 생긴 오류이다.
chmod 400 test_instance.pem
.pem 파일에 chmod로 권한 부여 후
ssh -i '파일명.pem' ec2-user@'퍼블릭 IPv4 주소'
ex) ssh -i test_instance.pem ec2-user@11.111.111.11
ssh -i test_instance.pem ec2-user@11.111.111.11
성공 !