
(1)AWS에 접속한 후 gitbash를 종료하면 다시 접속할 때 권한이 없다고 합니다.(publickey gssapi-keyex gssapi-with-mic)
(2-1)해결법 적용결과
---chmod 400 test_instance.pem
.pem파일에 chmod로 권한을 부여한 후 재접속해보라고 했지만 권한 부여가 되지 않습니다.
사용 후에도 되지 않습니다
(2-2)해결법 적용결과
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=love000079&logNo=221358347665
해당링크의 방법을 참고하여 변경하려고 했으나,
#PasswordAuthentication yes
PasswordAuthentication no
중 윗 줄만 주석을 제거하였고 아랫줄은 없었기 때문에 넘어갔습니다


▼systemctl restart sshd를 적용해보려했으나 작동되지 않았고, 관리자권한으로 프로그램을 재시작해도 작동되지 않았습니다

