SSH Users outsite website_docroot

Discussion in 'Installation/Configuration' started by softstein, Oct 30, 2012.

  1. softstein

    softstein New Member

    Hi! My ISPconfig3 has the problem that SSH users are not generated. The error message is

    Digging in the sourcecode it turns out that the paths are different:
    /home/www/clients/client11/web15 != /var/www/clients/client11/web15

    This comes because all websites are located in /var/www (which is symlinking to /home/www ). Sure I changed all paths in Server Config accordingly.

    What I do not know yet is: Where is the path in $data['new']['dir'] (line 77 in http://fossies.org/unix/privat/ISPC...ugins-available/shelluser_base_plugin.inc.php ) been taken from?

    Changing the homedir of the SSH user does not make a difference. Did I overlook a configuration option here?

    Any help is appreciated. Thanks!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The directories of the ssh users are based on the directory of the website.

    This can not work with a symlink as the real path is not the same then the website path. Remove the symlink and mount the directory with mount --bind instaed.

    http://backdrift.org/how-to-use-bind-mounts-in-linux
     
  3. softstein

    softstein New Member

    solved :)

    That made it. Man muss nur darauf kommen...
    Thank you very much, Till!
     

Share This Page