1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

chroot --> .ssh Directory ownership

Discussion in 'Plesk 11.x for Linux' started by futureweb, Oct 24, 2012.

  1. futureweb

    futureweb Regular Pleskian

    28
    23%
    Joined:
    Feb 4, 2007
    Messages:
    186
    Likes Received:
    4
    Location:
    Tirol, Austria
    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
     
  2. futureweb

    futureweb Regular Pleskian

    28
    23%
    Joined:
    Feb 4, 2007
    Messages:
    186
    Likes Received:
    4
    Location:
    Tirol, Austria
    really no one who can help me on this?!?
     
Loading...