Commit Graph
4 Commits
Author SHA1 Message Date
JJ Liebig 77a176eb21 fix: keep posix machine scripts intact through windows openssh (#5308)
OpenSSH for Windows hands the SSH command argument to the login shell
wrapped in double quotes, which expanded the `$`/`$(...)` in Herdr's POSIX
discovery and API bridge scripts before `/bin/sh` ran them. A saved machine
whose default shell is WSL bash is detected as POSIX, so `herdr --machine`
then failed with `remote binary discovery failed`.

Deliver the discovery script on stdin (`/bin/sh -s`) and base64-encode the
cached POSIX API bridge command so the whole script, including any executable
path, stays out of the command argument. The decoded bridge reads the API
payload from fd 3 so decoding the script cannot consume it.

refs #5132
2026-10-15 18:48:45 +02:00
JJ Liebig 6521382dbe fix: recover blocked shared ssh connections (#5252)
* fix: recover blocked shared ssh connections

refs #4721

* test: support shared ssh checks in client fixtures

refs #4721

* test: separate ssh cancellation from timeout scheduling

refs #4721
2026-10-14 02:40:36 +02:00
Can Celik 5f3763dda8 fix: cache saved machine connection metadata (#4256)
refs #4252
2026-09-16 23:55:12 +03:00
Can Celik 043b804c44 feat: route cli commands to saved ssh machines (#3918) 2026-09-10 23:33:27 +03:00