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.

7core
preguntada hace 5 meses216 visualizaciones
1 Respuesta
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 hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas