Dear, we are analyzing the ssh feature in order to let some of our customers to use them. When we activate this stuff (ssh user from ispconfig, with jailkit enabled) in the source code we see something like that: Code: if(is_file('/root/.ssh/authorized_keys')) $app->system->file_put_contents($sshkeys, $app->system->file_get_contents('/root/.ssh/authorized_keys')); What is the purpose to append the root authorized_keys into the ssh user created by ispconfig itself? Thank you.
My 2 cents: the administrator has already the root access to the server. Honestly i can't see the needs to append this public key also on the ssh sub users...
The purpose is for administrative convenience, as @Croydon said. If you, the admin, are setup to ssh to root on your server anyways, this allows you to save steps and potential mis-steps (ie. using the wrong command, resulting in wrong environment setup) by ssh'ing directly as a shell user when helping a client troubleshoot.