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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ