- 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
correctly set up with
.
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.
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
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.