• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How to set up and actually use existing SSH Keys for Plesk Accounts

MHC_1

Basic Pleskian
Server operating system version
AlmaLinux 9
Plesk version and microupdate number
Obsidian
Situation: We have a bunch of generated public/private keys on our work machines. These machines use custom key generation via winSCP options.

I am coming from WHM ; which had a very easy to use and practical approach to setting and implementing SSH Keys for accessing accounts via SFTP. This allowed me to "paste" WinSCP keys into the WHM interface to save the public key to the server.

Plesk; however, it's a mess. Please help.

I have the app "Extension" that is the SSH Keys Manager. This tells me :
  1. Open a subscription.
  2. Go to Web Hosting Access > Access to the server over SSH.
  3. Select /bin/sh and click OK.
I have completed the above actions.

I have also read this article: https://support.plesk.com/hc/en-us/articles/12377591587863-How-to-set-up-SSH-keys-for-Plesk-server which is not helpful. This simply tells me how to generate a NEW key this is not about how to import a (public) key to the Plesk Server.

1) How do I import a public Key to the Plesk Server for a specific domain/account?

1b) It seems dangerous to store keys in the server wide `/root/.ssh/` folder. Typically elsewhere keys are stored on a per-account basis. Also how do I tell the system which keys are for which accounts?

2) How do I force Plesk to only accept SSH access via SFTP to that domain/account?

Thank you!
 
Yeah, unfortunately some features are pretty hidden in the UI. You can access the SSH keys option for each subscription by opening the right side panel using the little icon in the top right corner, which will list the SSH keys options you can use to add SSH keys.

Screenshot 2025-04-08 143322.jpg
 
Back
Top