• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Plesk Error: Incorrect format of SSH public key.

J.Wick

Regular Pleskian
Server operating system version
Rocky Linux 8.6
Plesk version and microupdate number
Version 18.0.46 Update #1
I've been able to set up Key Access using the Plesk Key Extension for most users, but then I came across one client that when trying to set up their key, I was getting the error, "Plesk Error: Incorrect format of SSH public key."

The way I was able to fix it was to SSH and remove their .ssh folder and then try again. Plesk might want to add a blurb with the error message to consider doing this.
 
I've just had this same error on setup of a first time key. It turned out that Plesk does not like spaces in the label at the end of the key.

i.e. the key ended in "New Key for MySite" and I had to change it to "NewKeyforMySite" - once I did that, the key manger page worked,
 
Can Plesk please absolutely specify the format they desire for making public keys work in the Plesk user interface? The error given is far from helpful.
 
@MHC_1 the key is expected to have three, space-separated, non-whitespace parts (type, key, title):

ssh-ed25519 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX example

Thank you. It would be really good if this information could be shown somewhere on the Plesk Documentation!
 
Back
Top