• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

chroot --> .ssh Directory ownership

futureweb

Regular Pleskian
Hi there,

we are using chroot SSH access for our customers. Some of them want to connect by ssh keys.
Works like a charm if I create a ".ssh" directory with *user*:*psaserv* and add the Key

But how can I automate this?

When I create a .ssh Directory within /var/www/vhosts/chroot/ directory it's owned by root (or whatever User I give it) - so it will never be the User where the chroot skeleton gets copied to ...

How can I tell Plesk to create this directory as the User it's created for?

Hope someone can help me on this!

Thank you
Andreas
 
Back
Top