Support
Help with Sac Herd
Most problems are about reaching the host or about the key. Find yours below. If it is not here, open an issue on GitHub.
Connecting
The app cannot connect to my host
Work through these in order. The message under "Could not connect" usually says which one it is.
- Can the phone reach the host? On plain SSH the phone must be on the same network as the host, or on your VPN (Twingate, Tailscale, WireGuard). Check that the VPN is on, and that the address and port in the app are the ones you use from a computer.
- Is the key authorized? The app's line must be in
~/.ssh/authorized_keysof the user you entered, on one single line. Open the host in the app to copy it again. - Does the command work? The line starts with
command="hc connect", sohcmust be installed for that user and herdr-core must be running. If herdr-core runs in Docker, set the command in the app and in the line to the one that reaches it, for exampledocker exec -i herdr-web herdr-core connect. - Test from a computer.
ssh user@hostwith the same address and port tells you whether the problem is the network or the app.
It says the host key changed
The first time you connect, the app saves the host's key fingerprint. If the host later answers with a different key, the app refuses to connect and does not retry, because that is also what an attacker in the middle would look like.
If you reinstalled the host, moved it or regenerated its SSH keys, the change is expected: open the host in the app, save it again and accept the new key. If you did none of those, do not accept it. Check the host first.
Can I try the app without a host?
Yes. On the first screen, tap Try the demo. It opens a made-up host with sample machines, agents and files. Nothing in the demo touches the network.
What do I need on the host?
herdr-core, with your machines added to it, and an SSH server. Sac Herd is only a client: it does not install anything on your machines. The get started steps walk through it.
Keys and Face ID
"Import the key again" after I changed Face ID or a fingerprint
The saved key is tied to the Face ID or fingerprints that were on the phone when you saved it. If you add or remove a face or a fingerprint, the phone throws that key away on purpose. Nothing changed on your host.
Tap Open the key screen and paste, pick or generate a key again. If you generate a new one, add its new line to ~/.ssh/authorized_keys and remove the old line.
My RSA key does not work on iPhone or iPad
On iOS the app can only sign with the old ssh-rsa (SHA-1) method for RSA keys, and current OpenSSH servers refuse that by default. Use an ed25519 key instead. The simplest way is to let the app generate one: Add a host, SSH key, Generate. On Android, RSA keys work.
Which key files can I import?
Private keys in OpenSSH's own format, the ones that start with -----BEGIN OPENSSH PRIVATE KEY-----. That is what ssh-keygen has written by default for years. A passphrase is fine: the app asks for it once. Import the private key file, such as id_ed25519, not the .pub file.
Older PEM files (-----BEGIN RSA PRIVATE KEY-----) and PuTTY .ppk files are not supported. Convert a PEM key on a computer with ssh-keygen -p -f keyfile, or generate a new key in the app.
Where is my key kept, and who can read it?
In the iOS Keychain or the Android Keystore, for this device only. Every connect asks for Face ID or your fingerprint (or the phone's passcode if you have neither) before the key is read. The key is never sent anywhere; SSH only uses it to sign. See the privacy policy.
I lost my phone
On the host, delete the app's line from ~/.ssh/authorized_keys. That key can no longer log in. If you used Cloudflare, also revoke the service token in your Cloudflare dashboard.
Cloudflare
How do I set up Cloudflare Tunnel + Access?
Use this when the phone cannot be on the host's network. You need your own Cloudflare account with a domain and Zero Trust.
- Run a Cloudflare Tunnel (
cloudflared) on the host or next to it. Add a public hostname to the tunnel, for examplessh.example.com, with the servicessh://localhost:22. - In Zero Trust, create an Access service token. Copy its Client ID and Client Secret: the secret is shown only once.
- Create an Access application for that hostname and give it a policy with the action Service Auth that includes your service token.
- In the app: Add a host, choose Cloudflare, enter the tunnel hostname, the Client ID and the Client Secret. Host, user and key work the same as with plain SSH.
The app then does what cloudflared access ssh does on a computer: it opens the tunnel with the token and runs SSH inside it. Your SSH key is still what logs you in.
Cloudflare is set up but the app is refused
- The policy action must be Service Auth. An "Allow" policy sends a login page, which the app cannot use.
- The Client ID ends in
.access. Paste both values without spaces. - Service tokens expire. Check the token's expiry date in Zero Trust.
- The tunnel hostname is typed without
https://and without a path.
Files and images
Where do the files and images I send end up?
On the machine the agent runs on, under /tmp/herdr-web/. When you paste an image or attach a file in the chat, the app uploads it there and puts its path in your message, so the agent can open it. Uploads from the file browser go into the folder you are looking at.
/tmp is cleaned by the system from time to time. If you want to keep a file, ask the agent to move it, or upload it into a real folder from the file browser.
How do I get a file onto my phone?
Open the space, tap the files button and find the file. Tap it to view it, or open its menu to Save to a folder or Share it. Folders download as a zip.
Why does the app ask for my photos or camera?
Only when you choose to attach a photo or take one. The picture goes to your own machine and nowhere else. You can say no and still use everything else.
Report a bug
Bugs and ideas go to GitHub issues. Search first, someone may have reported it. If not, open a new issue with:
- The app version (Settings, at the bottom) and your phone model and OS version.
- What you did, what you expected and what happened instead.
- The exact error text, or a screenshot.
- How you connect: plain SSH or Cloudflare, and the herdr-core version (Settings, under Host).
Issues are public. Blur or remove host names, addresses, keys and tokens before you post. Nobody needs your private key to help you.
Problems with herdr-core itself, or with Claude Code or Codex, belong with their makers. The app's code is at github.com/sacalito/herdr-app.
About
Unofficial. Not made by or affiliated with the Herdr team. Herdr, its name and logo belong to them.