Skip to content

3.4 Change Reference

github-actions[bot] edited this page Dec 3, 2026 · 1 revision

3.4 Change Reference

Every change of 3.4 that users and administrators can notice compared with 3.3, one numbered entry per change. It belongs to Upgrading from 3.3, which says what to do before and after the update; the first-start entries U01 to U14 and U132 are there. The numbers (U15 and so on) identify each entry, so an issue or a question can point to one line.

Changes

The Kind column says whether a change fixes a 3.3 problem (fix), is new (new), removes something (removed) or follows a maintainer decision (decided).

Image, deployment and command line

# Change Kind What to do
U15 The image has no shell and no Python. /bin/sh and python exist only to run the health checks of the 3.3 Compose files (U16) and the LDAP helper (U18); a Compose command: or entrypoint: that starts anything else with sh, gunicorn or python exits with "the image has no shell". docker compose exec webssh sh no longer opens a shell. A :debug image with a BusyBox shell exists for troubleshooting. decided Use the commands of /app/webssh (docker compose exec webssh /app/webssh help).
U16 The image's health check is /app/webssh healthcheck, with the 3.3 timing (30 s interval, 5 s timeout, 10 s start period, 3 retries). The healthcheck blocks of the 3.3 Compose files (python -c … and the CMD-SHELL loop) still work: 3.4 answers exactly these commands and checks the same port or /ready as before. Health checks that run other commands report unhealthy. decided Nothing for the shipped Compose files; switch your own health checks to /app/webssh healthcheck.
U17 Unraid: the console of the container (Console in the Docker tab) has nothing to open, because the image has no shell. The 3.4 template drops the shell setting. decided Run commands with docker exec webssh /app/webssh <command> from the Unraid terminal.
U18 The command line is webssh <command>: serve, healthcheck, create-admin, reset-password, ldap-secret, issue-factor-bootstrap, connection-store, rotate-secret-key, migrate, legacy purge, backup create|verify|restore, version. The 3.3 forms /app/entrypoint.sh flask --app start:app <command> and python /app/deployment/ldap_secret_cli.py <command> (the ldap-tools Compose profile) still work with the same options, exit codes and messages and print a notice with the new form. They are removed in the next major release. decided Switch scripts to /app/webssh <command>.
U19 Admin commands (create-admin, reset-password, issue-factor-bootstrap) never migrate. On a 3.3 volume that 3.4 has not started on yet they stop with "has not been migrated yet". new Start 3.4 once first.
U20 TZ must be an IANA name such as Europe/Berlin. POSIX rules such as CET-1CEST,M3.5.0,M10.5.0/3 no longer work; an unknown value logs a warning and uses UTC. decided Use an IANA zone name.
U21 A dangling symbolic link at DATA_DIR/secret_key, or a file in place of the logs/ or keys/ directory, stops the start. A permission error names the runtime user and the chown that fixes it. fix Fix the path as the message says.
U22 The keyring material and the database in go/ must be regular files with mode 0600. Group or other permissions, or a symbolic link inside go/, stop the start. decided chmod 600 the named file; remove links.
U23 Installation from source means building the Go binary on Linux (Installation from Source). The Python development server (start.py) and its Windows and macOS use are gone. decided Use the container or build on Linux.

Configuration

# Change Kind What to do
U24 New TRUSTED_PROXY_CIDRS: the networks or addresses of your reverse proxies. Forwarded headers count only when the direct peer is inside them, and every proxy in a chain must be listed. With TRUSTED_PROXIES above 0 and no CIDRs, 3.4 trusts every direct client as 3.3 did and warns at every start; with DEPLOYMENT_PROFILE=production the warning names TRUSTED_PROXY_CIDRS as a required setting, but the start is not refused. new Set TRUSTED_PROXY_CIDRS whenever TRUSTED_PROXIES is above 0.
U25 Variables without meaning in 3.4 are accepted, ignored and named in a startup warning: GUNICORN_THREADS, BACKGROUND_WORKERS, RATELIMIT_STORAGE_URL (Redis is no longer supported; rate limits live in the process) and PYTHON* other than PYTHON_DOTENV_DISABLED (U28). Their values are still checked as in 3.3, so a way back still starts. TRANSFER_TEMP_DIR is no longer used; BACKUP_RECOVERY_DURABLE is read but no longer required (U108). decided Remove them from the Compose file when the way back is no longer needed; drop the Redis service.
U26 Values that 3.3 parsed in a surprising way keep their 3.3 meaning and now log a warning, for example yes or 1 for a boolean (read as false), " true" with a space (false), or " *" in CORS_ORIGINS (not a wildcard). fix Read the startup warnings and correct the values.
U27 REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE add certificates to the system trust store instead of replacing it, and apply to OIDC and GitHub. LDAP trusts only LDAP_CA_FILE, as before. A missing or empty bundle is an error. decided Check that the bundle path exists.
U28 A .env file next to the binary (/app/.env in the image, the checkout for a build from source) is read with the rules of python-dotenv: variables already set in the environment win, PYTHON_DOTENV_DISABLED turns it off. A file that is not UTF-8, holds a NUL byte, is larger than 4 MiB or whose ${…} interpolations add up to more than 4 MiB stops the start. The image does not contain a .env. keep Nothing, unless you mount a .env into /app.
U29 A second cookie <SESSION_COOKIE_NAME>_binding binds the CSRF token to the browser, and a known device gets <SESSION_COOKIE_NAME>_device. REMEMBER_COOKIE_NAME must not use either name; the start fails if it does. new Allow the cookies in cookie policies.
U30 New ALLOWED_HOSTS: comma-separated DNS names WebSSH answers to. Other names get 421 Misdirected Request; IP addresses, localhost, the hosts of CORS_ORIGINS and the probes are always served. Behind a trusted proxy both Host and X-Forwarded-Host must be allowed. Unset serves every name, as 3.3 did; the start logs a hint in every profile (see U56). new Set it to the names you open WebSSH with, especially for plain-HTTP homelab installs. Behind a proxy, let the proxy set X-Forwarded-Host itself (nginx: proxy_set_header X-Forwarded-Host $http_host;, see Reverse-Proxy-and-Subfolder-Deployment) so a client cannot choose it, and forward Host unchanged or list the upstream name as well.
U146 The startup log writes one configuration warning per variable: several warnings on the same variable are joined into one line, so CORS_ORIGINS=* logs one line instead of three. Warnings that 3.3 printed as well carry kind=config instead of kind=python. fix Adjust log filters that match kind=python.

Reverse proxy and live connection

# Change Kind What to do
U31 Socket.IO is gone. The browser uses one WebSocket at <APPLICATION_ROOT>/ws (subprotocol webssh.v1); there is no long polling. /socket.io/ answers 410, which makes an old page ask for a reload. removed Proxy rules written for /socket.io/ must cover /ws, with the upgrade headers. See Reverse Proxy and Subfolder Deployment.
U32 A WebSocket upgrade without an Origin header is refused with 403. decided Configure the proxy to pass Origin through.
U33 An explicit CORS_ORIGINS list always includes WebSSH's own address, and the scheme counts (http:// and https:// differ). An upgraded installation with CORS_ORIGINS=* keeps the 3.3 rule, which ignored the scheme, and logs a warning. fix List the exact origins, including the scheme.
U34 A refused live connection (MAX_SOCKET_CONNECTIONS, MAX_SOCKET_CONNECTIONS_PER_USER, defaults 48 and 8 as before) is closed with a message that names the limit, instead of a generic connection error. fix Close tabs or raise the limits.
U35 A request that changes data and comes from another site is refused with 403 forbidden (3.3: 400 csrf_expired). Browsers older than 2023 behind a proxy that rewrites the host need TRUSTED_PROXIES. fix Set TRUSTED_PROXIES and TRUSTED_PROXY_CIDRS behind such proxies.
U36 WebSSH holds at most 4096 HTTP connections at once, live connections included; further connections wait until one closes. There is no setting; 3.3 under Gunicorn held at most 1000. new Nothing. A proxy in front may set a lower limit.
U37 Forwarded headers with invalid values (an unparsable address, a scheme other than http or https, a host or prefix with path characters) are ignored and logged once. The Forwarded header is ignored, as before. fix Fix the proxy configuration if the log names it.
U38 An HTTP/1 answer to a request whose announced body was not read closes the connection, and every request has the 30 s read deadline, also requests that WebSSH answers without a handler (unknown route, wrong method, /socket.io, /ws, maintenance). 3.3 waited for the body. fix Nothing.
U39 Requests without a session (sign-in, registration, passkey sign-in) share a 16 MiB body budget, of which one client address (IPv6: its /64) holds at most 256 KiB, and their body must arrive within 10 s. Behind a proxy that is not listed in TRUSTED_PROXIES, all clients count as one address. new Set TRUSTED_PROXIES/TRUSTED_PROXY_CIDRS for your proxy.
U40 A realtime message above 128 KiB (the editor save) needs a share of a read budget: two such messages per account, at least 256 MiB in total. Without it within 5 s the connection closes with 1013 and the page reconnects. 3.3 had no bound. new Nothing.

Sign-in and accounts

# Change Kind What to do
U41 Passwords may be up to 1024 bytes (3.3: 72). New passwords are stored with Argon2id; existing bcrypt hashes keep working and are converted at the next sign-in. Until every account has signed in once, a failed sign-in costs one Argon2id and one bcrypt check. decided Nothing.
U42 API calls without a valid session get 401 with a JSON body instead of a redirect to the sign-in page. Pages still redirect. fix Scripts that followed the redirect must handle 401.
U43 Removing an account's administrator rights takes effect at once: its open administration pages are refused at the next request, its pending administrator confirmations are dropped, and its live connection reconnects (close code 4004) with the new rights. The account stays signed in; terminals and tmux sessions keep running. 3.3 only cleared the flag. fix Nothing.
U44 Uploading, replacing or deleting an SSH key and deleting a host key need a step-up confirmation unless the user signed in a moment ago. decided Nothing.
U45 LDAP: a search with more than one match is refused with 401 (3.3: 503); a base DN below a referral answers 503; referrals are never followed. LDAP connections need TLS 1.2 or later. fix Make the user filter unique; update old directory servers to TLS 1.2. Prefer entryUUID or objectGUID as the subject attribute.
U46 LDAP: an unusable bind-password file, CA file or filter no longer stops WebSSH from starting. The LDAP feature is shown as "not ready" in the log and in Administration, and its sign-in answers 404. fix Check the LDAP status after the update.
U47 OIDC: a rejected ID token answers 400 "Invalid or expired OIDC login" (3.3: 503). An ID token is required; there is no fallback to the user-info endpoint. Signatures must use RS, PS, ES or EdDSA algorithms, RSA keys 2048 to 8192 bits. With the security feature oidc switched off, all OIDC routes answer 404. Sign-ins in progress during a restart must be started again. fix Make sure the provider signs ID tokens with an asymmetric key.
U48 GitHub: a callback with a repeated state, code or error parameter is refused with 400. Accounts created through GitHub have no local password; after unlinking they sign in with a passkey. fix Nothing.
U49 Deleting an account writes a verified copy of its rows to DATA_DIR/go/deleted_users/<id>-<UTC>/. Copies are kept until an operator removes them. decided Remove old copies by hand when they are no longer needed.
U50 The routes /api/totp/disable, /api/credentials/apply, /api/credentials/lock and /api/automation/vault/* are removed; they had no caller in the interface. Two-factor sign-in is turned off from the account security page as before. removed Scripts that called them must use the interface.
U51 Every account taken over from 3.3 sees a notice once, when it first opens the workspace after the update: WebSSH now runs on a new server written in Go, the data was carried over, and problems can be reported as a GitHub issue. The notice links to this page; below it, set apart, are the project's support links (GitHub Sponsors, Patreon, Buy Me a Coffee), unless an administrator hid the support links. "Got it", Escape or closing it marks it as read for the account on every device and after restarts. Accounts created on 3.4 never see it. The notice comes before the introduction tour. The migration records it per account next to the settings, which stay unchanged; after a way back and migrate --replace it is shown once more. new Nothing.
U52 LDAP identities are keyed by the full unique-ID value. 3.3 read a binary value starting with a digit and a NUL byte (possible for objectGUID) as that digit, so several directory accounts could share one key. A link stored that way keeps working for the entry it was recorded for (same DN) and moves to the full value at its next sign-in; any other entry is refused with LDAP_LOGIN_REJECTED (ambiguous_subject). fix If such an account's DN changed since its last sign-in, relink it in the administration.
U53 The migration report names every LDAP link whose stored key could be such a cut value (True, False or a whole number) with the warning ldap_subject_truncated, the link id, provider and DN. new With a binary unique-ID attribute such as objectGUID, check the named accounts and relink one when another directory entry is refused with ambiguous_subject. With a numeric attribute such as uidNumber the warnings are expected.
U54 LDAP auto-provisioning refuses names that NFKC normalization changes (full-width, mathematical or circled letters), and the per-name sign-in ceiling of /login/ldap also counts per directory entry, so all spellings the directory matches share it. 3.3 created such accounts and counted every spelling separately. fix Nothing.
U55 OIDC sign-in starts are bounded per source (16 per IPv4 address or IPv6 /64); a full store drops the oldest start of the busiest source instead of answering "Identity provider unavailable" to everyone. Link and step-up starts of signed-in accounts have their own pool. fix Nothing.
U56 While no account exists, the browser registration of the first account (which becomes administrator) is accepted only through an IP address, localhost or a name listed in ALLOWED_HOSTS, checked for the Host header and, behind a trusted proxy, for X-Forwarded-Host; both must qualify. Through any other DNS name /register answers 403 with the reason, and the log names what to do. A GitHub sign-in that would auto-provision the first account gets the same 403. A page that rebinds its own DNS name to the server can no longer claim a fresh instance from a visitor's browser. Later accounts are not affected. fix Open a fresh instance by its IP address or localhost, add the name to ALLOWED_HOSTS, or create the administrator with webssh create-admin. Behind a proxy the rule holds only if the proxy sets X-Forwarded-Host itself (see U30).
U131 LDAP: a sign-in, step-up or session renewal that proves no directory password (a passkey, a second factor, an OIDC or GitHub sign-in, a recent strong sign-in) asks the directory at once whether an LDAP-managed account is still eligible. A locked, filtered or removed entry is refused and the account's sessions end, as at a failed revalidation; a directory that cannot be reached refuses it with 503 "Directory sign-in is temporarily unavailable", as the LDAP password sign-in does, and ends no session. Without this check such an account got in until its next revalidation (LDAP_SESSION_REVALIDATION_SECONDS). fix Nothing. LDAP-managed users can no longer sign in with a passkey while the directory is down.
U137 An administrator signed in through OIDC at a provider that sends no MFA claims (no OIDC_MFA_* mapping) confirms administrator actions with the account's passkey, TOTP or password instead of OIDC, which could never confirm them. The administrator step-up (/api/step-up/…) confirms administrator actions only and the account step-up (/api/account/step-up/…) only the others, as in 3.3, so this fallback never confirms a change to the administrator's own passkeys, TOTP, recovery codes or MFA; those stay with OIDC. A provider that can answer with MFA stays the method. OIDC is no longer offered for a step-up that needs MFA while no OIDC_MFA_* or OIDC_PHISHING_RESISTANT_* value is set, because its answer could never reach MFA. When the provider refuses an administrator step-up, the dialog reports it at once instead of waiting up to five minutes. fix Nothing. An OIDC-only administrator without passkey, TOTP or password still cannot confirm administrator actions; add one of them.
U138 A refused OIDC or GitHub sign-in (identity not linked, account locked, organization membership missing, provider unavailable, expired login) shows the sign-in page with the message instead of a JSON body. Link and step-up callbacks of a signed-in browser answer as before. fix Nothing.
U139 Replace legacy passkey on the security page appears only while the account has a passkey. fix Nothing.

SSH connections and hosts

# Change Kind What to do
U57 Legacy algorithms (diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1, aes128-cbc, 3des-cbc, hmac-sha1, RSA signatures with SHA-1) are offered only with the legacy setting and at the lowest priority. An upgraded installation keeps them for all hosts; a new installation offers a per-host and per-jump-host option "Allow legacy SSH algorithms". decided Turn the setting off once no host needs it.
U58 Not supported at all: the ciphers aes192-cbc and aes256-cbc, the MACs hmac-md5 and hmac-sha1-96, Diffie-Hellman group 1, arcfour and DSA keys. RSA keys shorter than 1024 bits cannot be used; the migration keeps them as unusable and names them in the report. OpenSSH has refused such RSA keys since 7.6. Encrypted PKCS#8 keys are refused with their own message. decided Update the servers concerned; replace weak or DSA keys.
U59 Passphrase-protected OpenSSH and PEM keys can be uploaded. WebSSH asks for the passphrase once and stores the key encrypted with its own key, never the passphrase. new Nothing.
U60 A host that presents a key of another type than the trusted one is reported as host_key_changed at once; a revoked key is reported as host_key_revoked. fix Review and trust the new key.
U61 A damaged line in a user's or the global known_hosts makes WebSSH refuse that file, naming the line. Lines end only at \n, \r or \r\n. fix Correct or remove the named line.
U62 Connection errors carry stable codes and fixed texts instead of the 3.3 free text, for example no more "Jump host connection failed" catch-alls. fix Nothing.
U63 Keepalive expects an answer; a peer that stops answering ends the session. decided Nothing.
U64 When the WebSSH host is a tailnet node, a new installation refuses ordinary SSH (password or key) to tailnet addresses whether or not Tailscale SSH is enabled. An upgraded installation keeps the 3.3 behaviour and warns at every start while Tailscale SSH is off and the interface exists. decided Review the saved hosts that reach tailnet nodes with ordinary SSH; see Tailscale SSH.
U65 Tailscale SSH binds its connection to TAILSCALE_SSH_INTERFACE with SO_BINDTODEVICE. The IP_UNICAST_IF option 3.3 used is ignored by Linux for TCP, so 3.3 could reach a host over another interface. fix Nothing.
U66 SSH gateway: a gateway that asks for a password and then a one-time code now asks for both in the browser when no password is saved. fix Nothing.
U67 Saved password checks: a SOCKS5 proxy whose saved password no longer matches its target reports credential_target_changed (3.3: connection_cancelled). The saved password is checked again right before it is sent. fix Confirm the password for the new target.
U68 Host discovery and the reachability check are separate permissions. On a new installation only administrators have them; administrators can grant them to all users in Administration (host_discovery_users, host_reachability_users). Upgraded installations keep them for everyone. HOST_DISCOVERY_ENABLED=false still turns discovery off for everyone. decided Review the switches.
U69 The reachability check counts a host as reachable only when it answers as an SSH server; other open ports count as unreachable. A saved SOCKS5 proxy is used for the check. decided Nothing.
U70 Discovery refuses IPv6 networks with a scope (fe80::1%eth0); 3.3 accepted them and lost the scope. fix Use an address without scope.
U71 Quick SFTP uses the same connection rules as the terminal: it asks about an unknown host key and uses SSH_CONNECT_TIMEOUT. A saved host opens in Quick SFTP over its saved route, as in the terminal: through its jump host (since 3.4.1; 3.3 and 3.4.0 connected to the host directly), also in front of an SSH gateway, or through its SOCKS5 proxy (3.3 refused it). The jump host and the host each pass the host-key check and the network rules. A jump host that signs in with a key uses that key; a jump host or proxy that signs in with a password uses the password saved for it, otherwise Quick SFTP asks to save one. A host cannot use a jump host and a SOCKS5 proxy at once. A changed host key is still refused. Quick SFTP over Tailscale SSH remains unsupported. decided Save a password for jump hosts and SOCKS5 proxies that sign in with a password if you want to use them for Quick SFTP.
U72 A host import file with NaN, Infinity or more than 512 levels of nesting is refused with "Invalid JSON document.". fix Export the file again from WebSSH.
U73 A failed step-up for a global host key (invalid entry, unknown id) no longer uses up the confirmation. fix Nothing.
U74 Names are unique per user and kind, compared without surrounding spaces and without regard to case: saved hosts, jump hosts, SOCKS5 proxies, SSH keys and saved passwords. Saving a new record, renaming one or importing a host under a name another record of the same kind already has is refused at the name field (duplicate_name); similar hosts with other authentication or settings need their own name. A key upload with a taken name is refused before the confirmation and is never renamed silently. Records that 3.3 stored with the same name are migrated unchanged and stay editable under their name; the import of the old automation vault restores its names as they were. Save and Save & connect are locked while a save is running, so repeated clicks store a record once. decided Rename duplicates if you want to tell them apart; nothing else.
U75 An IPv6 address may carry a zone (%…) only on a link-local or interface-local address, and only as an interface name or number (letters, digits, _, -, ., at most 15 characters). Saving or importing a host with another zone is refused with "Invalid host format"; a stored host with such a zone still loads and is refused when connecting. 3.3 accepted any zone but could not connect with a non-numeric one. fix Use the plain address, or the link-local address with its interface.
U76 Numeric IPv4 forms such as 3405803781, 0xcb007105 or 203.0.5 are treated as the IPv4 address they stand for: the network policy and the Tailscale rule check that address, and a jump host or SOCKS5 proxy is sent the dotted address instead of the name. Host keys stay stored under the name as typed. fix Nothing.
U140 The SFTP "Connect to Server" dialog lists each SSH key with its type, as the Hosts view does (for example my-key (ed25519)); 3.3 listed every key as (unknown). fix Nothing.
U141 Saving a host with "SSH Key" authentication and no key selected marks the key field and names the missing key, without sending the form; 3.3 showed two error notifications with the raw server message. fix Nothing.
U142 Host import: choosing a file that ends in .json or starts with { or [ switches the format to WebSSH JSON. A jump_alias that names an existing jump host (compared without surrounding spaces and case, as in U74) is preselected for that row in the preview; another jump host can still be chosen. fix Nothing.

Terminal

# Change Kind What to do
U77 New tmux session names are at most 190 characters, so a reattach never refuses a name WebSSH created. Reattaching without a display name keeps the stored one. fix Nothing.
U78 A connection that keeps sending terminal input or acknowledgements the server drops unread (for a closed terminal or out of order, more than 1024 frames in a row) is closed with code 4002 and reconnects. new Nothing.
U79 Server management lists every systemd service and Docker container of the host. 3.3 dropped the first one of each list and showed, for example, "Showing 3 of 4 containers". fix Nothing.

Files, SMB and transfers

# Change Kind What to do
U80 The SFTP preview shows text that is not UTF-8 as Latin-1 instead of reporting a binary file, like the editor and the SMB preview. decided Nothing.
U81 File errors show fixed texts with the 3.3 codes, never the server's own message. Too large and binary files in the editor report FILE_TOO_LARGE and FILE_BINARY. Relative paths and paths with control characters are refused; names that are not valid UTF-8 are listed and can be used (U134). fix Nothing.
U82 Quick SFTP and SMB sources belong to the browser session that opened them; another session of the same user does not see them. fix Nothing.
U83 After a reload, the file panel of a restored terminal session offers Unix permissions (chmod) only when this browser session already opened the session's SFTP source; 3.3 offered it once any browser session had used SFTP on the connection. The permissions of a source that is actually open are unchanged. fix Open the file panel once; chmod then appears as before.
U84 Folder downloads are streamed as ZIP instead of being built in a temporary file first. WebSSH builds every archive itself; the remote zip command is no longer used. A limit that is only exceeded while streaming (a file grows) ends the download instead of returning an error. ZIP entries carry each file's modification time. Downloads send their size up front; a file that shrinks or grows while it is read ends the download. fix Nothing.
U85 Transfer links are valid once, for 300 seconds and only in the browser session that requested them. fix Nothing.
U86 Folder downloads no longer reserve the QUOTA_TEMP_BYTES_* quota; each archive stays limited to the smaller of MAX_ZIP_DOWNLOAD_SIZE and QUOTA_TEMP_BYTES_PER_USER. fix Nothing.
U87 SMB follows the same network policy as SSH, so tailnet addresses (100.64.0.0/10) are allowed unless BLOCK_INTERNAL_SSH=true. As in 3.3, and with or without that setting, SMB never connects to loopback, link-local (including cloud metadata addresses), multicast, unspecified, reserved or other non-global special addresses, and a name with one such address among its DNS answers is refused as a whole. SMB_ALLOWED_TARGETS stays an exact allowlist. Share enumeration is removed. Windows status codes that 3.3 reported as OPERATION_FAILED now get specific codes, and on Windows servers a rename or upload whose reply was lost is reported as done when it took effect. decided Check SMB_ALLOWED_TARGETS if you relied on the stricter 3.3 address check.
U88 Folder copies, folder downloads and recursive deletes on SFTP stop with "The source changed during the operation" (SOURCE_CHANGED) when a folder of the tree is replaced by a link while they run; the link target is left untouched. Paths longer than 4096 bytes inside such a tree stop the operation. An SFTP upload or copy whose target folder is replaced by a link while it is written stops the same way. fix Nothing.
U89 Kept as in 3.3 by decision: a server-to-server copy does not carry the source file's mode. A new file gets the target server's default permissions, so a 0600 source can arrive as 0644; a replaced file keeps the previous file's mode. decided Copy private files only into private folders, or set a restrictive umask or create mode on the target server (for example internal-sftp -u 077).
U128 The file chooser shows a saved host whose saved password is assigned and usable as "Saved" instead of "Password needed". fix Nothing.
U129 A finished, cancelled, failed or expired permission job leaves only Close in the permission dialog; the preview button is gone. fix Nothing.
U133 The Quick SFTP chooser asks for the credentials of every hop Quick SFTP uses: the host, its jump host (since 3.4.1, U71; 3.4.0 ignored the jump host here) and its SOCKS5 proxy. A host shows "Saved" when the saved passwords of all of them are usable. Over plain HTTP, a saved host behind a jump host or SOCKS5 proxy that signs in with a password reports that saved passwords require HTTPS instead of asking to save a password. fix Nothing.
U134 An SFTP file or folder name that is not valid UTF-8 (for example a Latin-1 name from an old archive) no longer makes the whole folder fail with "An internal error occurred.". Every byte that is not valid UTF-8 is shown as a private-use character (U+10FD80 to U+10FDFF, usually drawn as a box), and the file can be opened, downloaded, renamed, moved and deleted. ZIP downloads and file names of downloads carry the name in this form; copies between SFTP servers keep the original bytes. A name typed with one of these characters stands for the raw byte. 3.3 listed such names with replacement characters. fix Nothing.
U135 An upload, copy or editor save that is interrupted (connection lost or reset, timeout, sign-out, account lock, server restart) no longer leaves its temporary file behind (.webssh-write-<24 hex>.tmp, editor saves .webssh-tmp-…, on SMB .<name>.webssh-write-<24 hex>.tmp). On SFTP, WebSSH deletes it while the connection is up, at a restart before the terminal connections close; when the connection is already gone, it deletes the file on the next connection of the same account to the same server while the process runs. On SMB the file is marked for deletion while it is written, so the server deletes it when the connection ends. A folder listing also deletes such files in that folder that were left unchanged for 24 hours, for example after a crash or by 3.3. Only regular files with exactly this name pattern are deleted, never links, folders, other files or the .webssh-recovery-….bak files of an SMB editor save; a file kept after an uncertain rename (OUTCOME_UNKNOWN) stays for 24 hours as well. fix Nothing. Leftovers of 3.3 go the first time their folder is listed.
U136 An SMB source whose connection is lost is closed at once and frees its slot of quick_connection; before, new SMB connections failed with "Too many SMB connections are open." until the idle sweep after up to 5 minutes. A transfer chunk that gets no answer within SMB_IO_IDLE_TIMEOUT_SECONDS fails after that time instead of up to five times as long and ends the source, as a stalled SFTP channel does. A listing on a lost source or of a link loop reports the real cause (source unavailable, not found as in 3.3) instead of "The directory listing was cancelled.", and a download cut off by a lost connection reports the lost source instead of "The source changed during the transfer.". fix Connect the source again after such a failure.
U143 The step names of the built-in automation templates ("Check prerequisites", "Disk capacity" and so on) are added to a runbook in the interface language instead of always in English. Runbooks saved before keep their step names. fix Nothing.
U144 With automation turned off, loading a page no longer asks for the automation state and logs the expected 403 in the browser console. Opening Automation or the overview still checks whether an administrator turned it on. fix Nothing.
U145 On screens 768 px and wider, notifications and the sign-in expiry warning appear below the header instead of over "Connection" and the account menu. fix Nothing.
U90 A permission change, a single object or a background job (recursive chmod), is refused when a folder above a changed object is writable by group or others without the sticky bit, or belongs to another user than root or the signed-in account: UNSAFE_PATH, nothing is changed. 3.3 had no such rule. Another local user could otherwise swap such a folder for a link during the job and redirect the change, for example to /etc/shadow. fix Run the job as the owner of the tree, or remove the group and other write bits of the folders on the path first.
U147 An SFTP folder with exactly MAX_TRANSFER_MEMBERS entries (10 000 by default) is listed completely. The . and .. entries of the server no longer count towards the limit; 3.3 stopped such a folder at 9 500 entries with "Directory exceeds configured member limit". fix Nothing.
U148 A file created with "New file" in the SFTP browser gets mode 0600 instead of the server's default (often 0644), as in 3.3. 3.3 asked for 0600 when it opened the file and did not check the result; 3.4 sets the mode right after opening the still empty file and checks it. A server that refuses the change or keeps group or other permission bits fails the create with "Private staging permissions are unavailable." and no file is created. decided On such a server, create the file in a terminal or upload it.

Saved passwords and automation

# Change Kind What to do
U91 A saved host, jump host or SOCKS5 proxy that uses an existing saved password asks for the account confirmation before it is saved, and the record, new or edited, is stored together with its password assignment in one step (3.3 saved the record first and asked afterwards, so a cancelled confirmation left a record without its password or an edit without its new password). Cancelling stores nothing and keeps the form with its input. Replacing the assigned password of an existing record is confirmed before the record changes, too. fix Nothing.
U92 The old passphrase-protected automation vault (before 3.0) is kept unchanged and can only be imported. The import button is shown until the vault has been imported. Entries for hosts behind a jump host or SOCKS5 proxy show as changed after the import. decided Import the vault with its passphrase, then confirm the changed entries.
U93 Runbooks use saved passwords only; the password prompt of a run is a step-up confirmation. Runs are refused with unsupported_target for hosts behind an SSH gateway, Tailscale SSH, a SOCKS5 proxy or more than one jump host, and for usernames with :. Every hop needs a trusted host key. fix Move such hosts out of runbooks or connect them directly.
U130 In the target list of a run, a group with some hosts on an unsupported route says how many ("1 with unsupported route") instead of marking the whole group unsupported. The group itself still cannot be selected; its supported hosts can be selected one by one. fix Nothing.
U94 When the first check of a run fails, its targets are skipped and the run is failed (3.3: unknown). fix Nothing.
U95 Schedule approvals are checked with the 3.3 rules during the migration. Valid ones stay approved; invalid ones become stale with a reason, and schedules that were running at the time of the update are paused as unknown. decided Review and approve the schedules the report lists.
U96 Background jobs keep their state across restarts: a periodic job continues from its last run, a run missed during downtime runs once, and an interrupted run is reported and not repeated. new Nothing.
U97 A runbook library with more than 100 runbooks is migrated in full and reported as runbook_above_limit; new runbooks need room below the limit. decided Remove unused runbooks.
U98 A connection that would use a saved password over plain HTTP is refused with the code https_required (3.3: authentication_required); the page still shows "Password management requires HTTPS." fix Serve WebSSH over HTTPS, or through a TLS proxy listed in TRUSTED_PROXY_CIDRS, to use saved passwords.
U99 A scheduled run whose check fails only because the scheduler ran out of time or storage failed is retried at the next tick instead of being paused as "needs review". fix Nothing.

Backup, restore and secret rotation

# Change Kind What to do
U100 Backups are tar archives in the format webssh-go-backup, named webssh-backup-<UTC>.tar. The browser download is saved under that name, with the content type application/x-tar; 3.3 saved a ZIP archive as webssh-backup.zip. decided Keep the archives; 3.3 ZIP backups can still be restored.
U101 3.4 backups cannot be restored with 3.3. 3.3 backups (format v1 and v2, exports, online backups and recovery snapshots) restore on 3.4 through the same migration as the first start, also on a new installation with another SECRET_KEY: the key rule of U102 applies to them as well. decided Keep a 3.3 backup until the way back is no longer needed.
U102 Restoring a 3.4 archive takes over the archive's SECRET_KEY when the active key comes from DATA_DIR/secret_key and no 3.3 data is left (after webssh legacy purge, or on an installation that never ran 3.3). While the 3.3 data still exists, DATA_DIR/secret_key and the keyring material are never changed: the archive's secrets are sealed again under the active key, so the way back to 3.3 keeps working. When SECRET_KEY is set in the environment and differs from the archive's key, the restore is refused before anything changes. 3.3 restored such an archive and could then not read its secrets. fix Restore with the SECRET_KEY the archive was made with, or let WebSSH manage the key file.
U103 After a web restore WebSSH restarts inside the running process instead of exiting. fix Nothing; the container keeps running.
U104 A restore ends every sign-in, step-up confirmation, bootstrap code and known-device cookie, discards unfinished passkey, GitHub and second-factor sign-ins and pending TOTP enrolments, and every schedule needs a new approval. decided Sign in again; approve schedules.
U105 backup create --without-secret-key leaves out SECRET_KEY. The keyring material stays in the archive (except in the case of U106); the restore then needs the same SECRET_KEY on the target. decided Store the key separately when you use the option.
U106 While the 3.3 data exists and SECRET_KEY comes from DATA_DIR/secret_key, backup create --without-secret-key leaves out the keyring material as well. Every 3.3 backup made after a way back holds secret_key; together with the material of a 3.4 archive it would open the saved SSH keys and passwords. Such an archive restores only on a host that still has its SECRET_KEY and keyring material. decided For a restore on another host, create the archive without --without-secret-key, or after webssh legacy purge.
U107 3.4 archives are checked strictly before a restore: links, devices, absolute or non-canonical paths, .., backslashes, members missing from the manifest and members below go/ or logs/ are refused. 3.3 archives are read as tolerantly as before. decided Nothing.
U108 The restore state lives in DATA_DIR/go/restore-status.json, next to the data, instead of in BACKUP_TEMP_DIR. Online restore no longer requires BACKUP_RECOVERY_DURABLE=true. fix Nothing.
U109 rotate-secret-key --confirm-offline refuses while a WebSSH server uses the data directory and while the 3.3 data still exists. The recovery snapshot before the rotation is a 3.4 archive (webssh-backup-<UTC>.tar) instead of <datadir>-pre-rotation-….zip. Besides all browser sessions, a rotation also ends enrollments, two-factor sign-ins and passkey ceremonies in progress, step-up confirmations and open bootstrap codes. A rotation interrupted by a crash completes at the next start. fix Run legacy purge before the first rotation; stop the server.
U110 A 3.4 archive whose database holds anything 3.4 does not create (triggers, views, virtual tables, other tables or indexes, changed table definitions) is refused by the upload check, backup verify and the restore. Archives written by WebSSH are not affected. fix Nothing; use an unmodified archive.
U111 legacy purge names the files it removes that are no 3.3 data Go took over (for example a certificate, an export or a .bak copy in the volume) and puts them into its backup; --skip-backup is then refused. When the 3.3 data is already gone, a file that changed since the migration stays in place and is named. An interrupted purge removes only files of the migration record. fix Run the purge with a backup, or move your own files out of the data directory first.
U112 When SECRET_KEY is set in the environment, the online backup, backup create and the legacy purge backup no longer contain it; the keyring material stays in the archive. 3.3 never had such a key in DATA_DIR and so never in an archive. backup create --include-secret-key adds it on request. A key kept in DATA_DIR/secret_key is included as before. fix Restore such an archive with the same SECRET_KEY; keep the value with your recovery material.
U113 Beside the 3.3 data, restoring a 3.4 archive with the same SECRET_KEY but other keyring material (another host, a clone) reseals its secrets under the active key and keeps the material. Without 3.3 data, a restore that installs other key material or another SECRET_KEY first writes the previous ones as keyring-material and secret_key (0600) into each go/replaced-<UTC>/, so data set aside by migrate --replace still opens. fix Keep these files with the directory; remove the directory when it is no longer needed.
U114 When BACKUP_TEMP_DIR belongs to another user than the one the service runs as (possible only when it runs as root), the start logs a warning with the owner. That user could read online backups, which hold SECRET_KEY. The start goes on; 3.3 did not check the owner. new chown the directory to the service user, or set BACKUP_TEMP_DIR to a directory only the service owns.

Administration and audit

# Change Kind What to do
U115 3.4 writes to the same logs/security_audit.log as 3.3, in the same line format and with the client address where 3.3 had one. Entries 3.4 adds use the same format, for example REALTIME_CALL and SSH_INTERNAL_ALLOWLIST_ADMITTED. The outcome of an online restore is written by the start that completes it, so RESTORE_SUCCEEDED carries the operation_id of RESTORE_STARTED instead of the user and address. After a way back, the 3.3 log contains the 3.4 entries. decided Adjust log filters that expect user and address on RESTORE_SUCCEEDED.
U116 Entering maintenance (backup restore, rotation, a changed 3.3 source) closes every live connection with code 4503; /ready answers 503. fix Nothing.
U117 The operations view lists the background jobs of the new server and their state. Python worker threads and the HTTP thread reserve no longer exist; http_reserve is always 0. Disconnecting a live connection as an administrator closes it without automatic reconnect. fix Nothing.
U118 connection-store list and delete also work while the server runs; --confirm-offline is still required. fix Nothing.

Appearance

# Change Kind What to do
U119 In the Glass theme, primary buttons turn a darker blue on hover (#0866b0 instead of #087dcf), so white text keeps a contrast of at least 4.5:1; 3.3 reached 4.3:1. fix Nothing.
U120 Overview host cards form an even grid: the cards of a row have the same height and their status and actions sit at the bottom on one line. The machine badge (VM, LXC, Bare Metal) no longer covers the platform tile; it is text in the system line (U122). Host profile and Configuration readiness no longer unfold inside the card; a click on the logo or name of a card opens them as a popover, on a phone as a sheet at the bottom. A panel with a stored height draws a rule under its heading while its content scrolls. fix Nothing.
U121 The Overview can keep your own order of the host cards: Arrange in the Hosts panel puts a handle on every card; drag it with the mouse or a finger, or focus it and use the arrow keys, Home and End. The order is flat across groups and is saved per account on the server, as host_order in the overview preferences next to the panel arrangement. Favorites always come first; your order applies among the favorites and among the other hosts. New hosts appear at the end, Reset order returns to the default order. While a search or filter is active, the order is kept but cannot be changed. Without a saved order the cards keep the default order (favorites, group, position in the group, name). new Nothing.
U122 Services are named instead of shown as small logo tiles. Overview cards show the apps as chips with their name (and logo where one is bundled; the two-letter stand-ins are gone), two lines at most and +n for the rest, and what the host runs on (Docker, Traefik, databases, VPN and the like) in one line "Runs on …". The machine kind (VM, LXC, Bare Metal) is text in the system line. Rail rows and session tabs carry no service logos; the identity line above a terminal, the window title bar and the classic overview name up to three services and count the rest. Data, API and detection are unchanged. decided Nothing.
U123 Between 768 and 1100 pixels wide, and on screens up to 650 pixels high, the Hosts switch of the workspace said the host rail was open while the rail stayed hidden. The rail now shows whenever the switch is on. fix Nothing.

HTTP API

The JSON API under /api/ is internal and serves the web interface. Scripts that call it directly see these changes:

# Change Kind
U124 Every JSON error has the form {"success": false, "code": "…", "error": "…"}; texts are unchanged. An unknown API path answers JSON 404 instead of an HTML page, and an oversized body 413 with the code too_large. fix
U125 A request body is read only after the session and the access level were checked: a request without the needed session gets 401 or 403 without its body being read. Sign-in, registration and passkey sign-in bodies may be at most 16 KiB. While the server holds its maximum of buffered request bodies (64 MiB for signed-in users, of which one account holds at most 8 MiB across all its sessions, and 16 MiB without a session), a request waits up to 5 seconds and then gets 503 unavailable with Retry-After. fix
U126 Request bodies are read strictly: duplicate member names, NaN, Infinity, lone surrogates and trailing data are refused with 400 in most routes. A TOTP code must be a JSON string. fix
U127 Routes and live events without a caller in the interface are removed (U50, and the file events check_exists and get_file_stat). removed

Clone this wiki locally