Settings reference
This page answers three questions: where a switch lives, where your config lives, and where your passwords live.
Opening Settings
- Click the lower button on the floating strip at the right edge (the gear)
- Or press
Ctrl + ,
The small dot on that gear is your connection state: green connected, amber connecting, red error, grey not connected. You never have to open a panel to see it.
The five sections
| Section | What is in it |
|---|---|
| DSH address | The dev machine running DSH: a domain, an IP or a full URL; local port, Host rewriting and page loading mode sit under "Advanced" |
| SSH connection | How you log into that machine: host, port, username, password or key; disconnect and forget saved credentials |
| Startup | "Connect to SSH when the app opens" and "Open the DSH page after connecting" |
| Automatic port forwarding | Makes services started on the dev machine show up on their own (that is the label in the app): the switch and its status line live here |
| Forwarding rules | Your own "local port → remote host:port" entries; when discovery cannot see a service, add one by hand here |
Page loading mode deserves a sentence of its own: by default it decides for you — a domain is opened directly, an address that only the dev machine can reach goes through the login channel. You can force either one.
Host rewriting is for picky services: some of them check the domain in the request and refuse anything else. Rewrite it here to whatever they expect.
Where your config lives
- Non-sensitive settings (addresses, ports, usernames, key paths, your rules) go into
settings.json - Passwords and passphrases go into your system key store, encrypted, and cannot be read back — not even by us
A forgotten password has to be typed again. That is the point.
Copy the file from one of these places if you want a backup:
Windows %APPDATA%\dsh remote\settings.json
macOS ~/Library/Application Support/dsh remote/settings.json
Linux ~/.config/dsh remote/settings.json
Automatic rules vs your rules
| Opened automatically | Added by you | |
|---|---|---|
| Created by | The client, after finding a service | You, in Settings |
| Service stops | Removed after a short while | Stays |
| Name | Something like auto-port-3000, tagged by origin |
Whatever you called it |
Origin decides, not the shape of the name — so nothing you added gets deleted behind your back.
No environment variables to set
There is nothing to export in your shell. Everything adjustable is in the Settings panel.
One exception: if the session directory on your dev machine is somewhere unusual, give the discovery section an absolute path.
Did this page help?
If something is still unclear, tell us and we will fix this page.
In a hurry? Email works too.