permission denined(public key)

0

while using scp method , permission denined(public key) err occures . "Permission denied" error occuring when attempting to SSH using the specified private key.

  • Please can you confirm the cli and the error.

1개 답변
0

This error typically means that the public key belonging to your private key is not stored on your instance. Assuming you are using standard SSH packages, please make sure that your public key is stored in the file ~/.ssh/authorized_keys (~ being the home directory of the user you are using to log in) on the instance.

See also Add or remove a public key on your instance for further details.

profile pictureAWS
Michael
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠