Permission denied (publickey) I can not solve

Hi,

I have a problem that i can not solve. When I try to connect with my raspberry 4, the connection is fail because when i write the password it appear the following message: pemission denied (publickey).

Could you tell me if i have to do any change? I use core shell and core helper.

Thank you in advance.
Pablo

2 Likes

Hi Pablo, could you please Enable logging and paste the desensitized log? It will help me identify the problem.

Thanks,

Yang

did you follow this? Troubleshooting

This solves the public key access denied but what i can't do is port forward 443 after upgrading to ventura and i don't know a work around.

Could you please enable Enable logging and pasted desensitized connection log?

Kindly Regards,

Yang

Your raspberry pi accepts private key login only, so you can't login using password.
If this your first time connecting to your new-flashed RPi, you can use Raspberry Pi Imager to customize the system before flash os to SD card.


In the service tag, you can choose password login to enable password authentication:

1 Like

If this isn't your first time connecting to your RPi, and don't want to lose anything on your pi4, you can try connecting using your default id_rsa key. The configure option is in the connection tag:


If you don't have id_rsa in the selection options. you choose browse button then press command + shift + G, go to ~/.ssh/id_rsa, and select import. then you have the option.

1 Like

Hello,
Thanks for asking this, I am also facing same issue.