• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Using SSH Key Manager extension

Franco

Regular Pleskian
Hi all,

I installed the SSH Key Manager extension and managed to configure a subscription to use the key file with SFTP, which was relatively straightforward to do.
However, how do I define and setup the keys for the SSH root login to the server? Is it possible via Plesk and its extensions or do I have to use the command line? Are there some official instructions that go with Onyx?
I am on CentOS 7.4.

Thank you in advance for your help.
Regards
Franco

P.S. The ultimate goal is to disable password login server-wide
 
Hi UFHH01,

I had seen that, but my question was about using the Plesk SSH Key Manager extension to add the pub key file at the right location. Apparently the extension can only deal with subscritions (vhosts). Therefore I created a key pair and added the authorized_keys file in the appropriate location using the command line interface, as suggested by that article.
I am all set, i.e., achieved thbut still wonder how one would use the mentioned extension for this case.

Regards
Franco
 
Hi Franco,

if you desire to use SSH keys for non-subscription users, you indeed have to follow the steps from the above mentioned KB - article, without the possibility to use the Plesk SSH Key Manager.
 
Back
Top