Manage files and SFTP access
Use Herne’s file manager for small changes and SFTP for larger transfers. We will find the project directory, review a static site archive, and prepare site access. These screens use demonstration data.
Before you begin, create a site in Herne and confirm you are authorized to change its files. Keep a current backup or local copy. Know the active document root and obtain the server’s SSH endpoint and authentication policy from your administrator. The example site is studio.example.test; use your own values.
The screenshots illustrate Herne 3.55.43 with synthetic files and account rows. They do not show a live upload, extraction or SSH connection. The interface and narration are English; written guidance and selectable subtitles are available in six languages.
English audio · 5 min 6 sec · Subtitles in all six site languages.
1. Find the right directory
Open your site, then Files and access, File manager. Home already represents the project’s web root directory. Do not create another web root folder inside it. Your configured document root may be a subdirectory, such as public.
Open a folder by its name and return through the breadcrumb. Column headings sort the list. Owner and mode help diagnose access problems. A listed file is not necessarily readable by the panel. Ask the administrator to investigate permission errors.
Keep private files, credentials and backups outside the publicly served document root. For a Laravel project the public document root is commonly web_root/public; do not switch it to the project root just to make a file visible. Use the application’s deployment procedure for releases and dependencies.
2. Edit and upload files
For a small text change, open an editable file such as index dot HTML. Keep a copy before editing, make the change, then choose Save. Check the result in the file list and on the actual website. This editor has no syntax highlighting.
Choose Upload to send a file to the current directory. The panel accepts one file per upload, up to fifty megabytes. Server and proxy limits may be lower. Check the destination and existing filenames before continuing, because a matching file may be replaced.
The browser upload blocks executable types, including PHP and shell scripts. Do not rename files to bypass this check. Use the supported deployment flow or authorized SFTP access for application code. Use the file editor only for appropriate, deliberate text changes.
3. Extract and verify a static site
For a static website, upload a trusted ZIP and choose Extract beside it. Review the current folder before confirming. A single enclosing folder, such as dist, is flattened. Extraction can overwrite matching files, so keep a backup before replacing an existing site.
Check that the entry file and assets landed in the intended directory. Review Settings, General if the document root must change. Herne rejects unsafe archive paths and symbolic link entries, but this does not make an untrusted archive safe to publish. Inspect its contents first.
New folder creates a directory in your current location. Rename changes an entry’s name in place. Read the confirmation before deleting a file. A directory tree can be removed only when it contains directories alone. Keep a backup: the file manager has no recycle bin.
4. Prepare SFTP authentication
For regular transfers, open Files and access, SFTP users. The site prefix is fixed; choose a unique suffix within the displayed limit. Use the complete username from Existing users when connecting. Your plan limits how many SFTP accounts you may create.
If password login is enabled, enter and confirm a strong password, or generate one in the browser. Store it securely before creating the account. The account password is separate from your panel login. Never place passwords or private keys in website files.
On a key-only server, add a site SSH public key before creating the SFTP account. The creation service requires at least one saved key. Open Files and access, SSH keys. Give the key a clear label and paste only the public key.
The private key stays on your computer. Site SSH keys apply to every SFTP user of that site, including accounts created later. Separate usernames do not give separate key permissions within the same site. Add only keys belonging to people authorized for the entire site.
5. Connect and transfer a test file
In your transfer client, select SFTP. Use the server’s SSH hostname or address, the displayed SSH port, and the complete SFTP username. The example port is twenty-two; yours may differ. An HTTP proxy address may not provide SSH access. Confirm the correct endpoint with your administrator.
Before accepting the first connection, compare the server’s SSH host key fingerprint with one obtained from your administrator through a trusted channel. This identifies the server, and is different from your personal login key. Stop and investigate an unexpected host key change.
After login, the session starts in slash web root inside the site container. Begin with one harmless test file and confirm its location in File manager. This is file transfer access, not an interactive SSH shell. Check the website after transferring public files.
| Field | Example |
|---|---|
| Protocol | SFTP |
| Host | studio.example.test |
| Port | SSH port shown in your panel; example 22 |
| Username | sftp_studio_example_test_edit |
| Authentication | Password if allowed, or your matching private key |
| Initial directory | /web_root |
With the OpenSSH client, the examples below use uppercase -P for the port. Replace the host, username and port with your actual values. For key authentication, -i selects a private key on your own computer. Do not run these examples against the demonstration hostname.
sftp -P 22 sftp_studio_example_test_edit@studio.example.test
sftp -i ~/.ssh/id_ed25519 -P 22 sftp_studio_example_test_edit@studio.example.test
6. Troubleshoot and review access
For connection failures, check the SSH endpoint, port and network access. For login failures, check the full username and server authentication policy. For permission errors after login, check the destination and ask your administrator. Avoid broad permission changes that expose the site to other users.
When access is no longer needed, review the account and site keys together. Removing one SFTP user does not remove a site key from other accounts. Keep backups before changing website files. Next, we will create a database and prepare an application connection.