• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue SSH Key Manager -- PLEASE give details of acceptable format for public key

MHC_1

Basic Pleskian
Server operating system version
Alma Linux 9
Plesk version and microupdate number
Obsidian 18.0.3
The SSH Key manager claims to be able to use SSH Keys for domain account connection.

I have been having issues with the "incorrect format" for the keys; Without any guidance on what is the desired format:



key_1.png
AND

key_2.png
But there's no details given either here or on any documentation that can be found.

Things also tried:

- Have removed all spaces from key text
- Have removed all text that is not the core key
- Have copied and pasted the complete key file contents
- Have shaped the key text starting with <key-type><space><keytext>

but all of these also fails.
None of this works.


WHAT IS THE CORRECT FORMAT FOR PUBLIC SSH KEYS COPY/PASTED FROM EXISTING TEXT FILES

Please also update the Plesk documentation with this as we couldn't find this information anywhere.
 
Ok

Solution:
After much trial and error I have established

Format MUST be:


<key-type><space><key-text-no-line-breaks><space><title-text>

All parts of this are required and no line breaks can be in the text. "Title" is required.

As mentioned elsewhere title text can be in quotes if it contains spaces.
 
Back
Top