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 Resposta
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
respondido há 5 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas