Skip to main content

Public key authentication and change of password [Resolved]

I have set up public key authentication for my Raspberry server.

If I change the password of the user authenticated by the public key, shall I recreate the public key?

Please advise. Thanks, Dan

Question Credit: Daniele
Question Reference
Asked October 6, 2019
Posted Under: Network
1 Answers


Public key authentication is used independently the account password.

Also changing the password protection on the private key (which you can't do as the server admin on the server and needs to be done by the user on the client), does not change the public key.

A user only needs to upload a new public key when they replace their private key.

credit: HBruijn
Answered October 6, 2019
Your Answer