• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question How To Set Up Plesk Root Login via SSH With External SSH Keys

MHC_1

Basic Pleskian
Server operating system version
AlmaLinux 9
Plesk version and microupdate number
Plesk 18
How To Set Up Plesk Root Login via SSH, With External SSH Keys

I am having trouble establishing the method process to do this. There are numerous similar topics, and numerous topics that cover parts of this topic ( Resolved - What steps need to be taken to enable SSH root access through the SSH terminal extension? - for example using SSH keys for terminal access within Plesk framework ).


Situation:

- There is a Plesk server with account level SSH keys. These work fine.
- This server has SSH root level access from a few external sources - eg Filezilla or WinSCP
- This server needs these root accesses to be SSH keyed -- I would hope the local office machines keep the Private Key and only the public SSH Key is given to the Plesk server to check when logging in.
- We have
Code:
/etc/ssh/config_sshd
correctly set up with
Code:
PermitRootLogin prohibit-password
.

Question:

- Where on the file system do we put the SSH Root key and associate it with the root login referenced above?
- The keys will be generated off-server.
 
UPDATE: To clarify; I believe I need to stick the keys in /root/.ssh/<keyname> but I don't then know how to set these keys (or one of them) as the actual one to be required when SSH logs in.
 
Back
Top