📂 Archive/Web Programming

[AWS] line 5: Bad configuration option: indentityfile, terminating, 1 bad configuration options 해결

MIMDOING 2021. 5. 28. 11:47

너무 고생해서 기록해두기 위한 것..
ssh -i "pem파일경로" "서버종류"@"탄력적IP주소" 했는데 다음과 같은 오류가 나왔다.

터미널에서 chmod 600 "pem파일".pem 을 해주고,
다시 ssh -i "pem파일경로" "서버종류"@"탄력적IP주소"를 하거나
vscode에서 Connect to Host in Current Window 또는 Connect to Host in New Window를 선택해서 연결해주면 된다.

나는 New Window에서 여는 걸로 했는데, 위와 같이 하면 이렇게 잘 나오는 걸 확인할 수 있다.