Skip to content

[BUG] SSH connection bug on Hetzner: cannot operate on symlinked public_html folder when Root Path is /usr/home/<username> #1654

@Bellonio

Description

@Bellonio

Hi, I’ve encountered a problem with SSH connections on Hetzner servers where the public_html folder is actually a symlink (alias).

When I configure the connection with:
Root Path: /usr/home/<username>

this setup is required since Hetzner doesn’t allow access outside of the home directory (so I can’t browse down to public_html from /).

With this configuration:

  • I can access the root folder and other subfolders (like .ssh, .tmp, etc.)
  • I can open and read files inside public_html
    ❌ But I cannot create or move files directly inside the public_html folder, because it’s a symlink/alias.

The only workaround I found is setting:
Root Path: /usr/www/users/<username>

That path points to where public_html actually lives, and then I can freely do anything there — but this way I lose access to all other folders on the same level (like .ssh, .tmp, etc.), which is not ideal.

I need to be able to both:

  • browse and access all folders under /usr/home/<username>
  • and operate normally inside the symlinked public_html folder (as with other directories).

Thank you!

With the first config:
Image

With the second config:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions