fd0ssh(1)
π fd0ssh β the manual, but make it make sense π
okay bestie, so this page lives in the hxtools manual collection, section 1, and it's all about fd0ssh. it's short, it's sweet, it's giving "tiny utility, big job" energy. let's get into it π«Ά
β¨ Name β¨
fd0ssh β a pipe for password-over-stdin support to ssh πΈ
like, the whole entire personality of this program is: get a password into ssh when ssh really wants to ask for it on a terminal. no cap.
π Syntax π
fd0ssh mount_command
that's it. that's the whole vibe. one argument, mount_command, and off you go π
π¦ Description π¦
okay so here's the tea β β this is a wrapper for ssh which reads the password from stdin and sets things up so that ssh will recall the wrapper to get the password, which will be read from the parent process using a pipe. π«Ά
literally the way it works is: you feed it the password on stdin, and the wrapper arranges for ssh to come back and call the wrapper again when it needs the password, and that read comes from the parent process through a pipe. iconic behaviour honestly. π
it's used by pam_mount(8) to mount SSH-based filesystems, such as ccgfs and sshfs. so if you've ever automounted an sshfs thing at login and wondered "wait, how did the password get in there", this little guy is part of the answer. π₯
ngl, this is a very small program doing one very specific thing, and that's exactly why it's cute. don't expect it to do anything else, bestie. π
π See also π
hxtools(7)β the whole hxtools family, go say hi π
also, for the lore: idea by John S. Skogtvedt, http://www.debian-administration.org/articles/587 β¨
and that's the page!! π source is hxtools, version/date situation is 2008-04-06, and the page is fd0ssh(1) β so yeah, it's been serving this exact purpose since 2008 and it's still eating. periodt. π
ππ¦
π¦ where this page comes from
- debian bookworm: hxtools 20221119-1 Β· MIT
- debian trixie: hxtools 20231224-2+b2 Β· MIT
- nixos 26.05: hxtools 20251011
- nixpkgs unstable: hxtools 20251011
- opensuse-leap 16.0: fd0ssh 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: fd0ssh 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: fd0ssh 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- opensuse-leap 16.0: fd0ssh 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- ubuntu jammy: hxtools 20211204-1 Β· GPL-2.0-or-later OR GPL-2+3 OR WTFPL
- ubuntu noble: hxtools 20231224-2ubuntu1 Β· MIT
- ubuntu questing: hxtools 20231224-2ubuntu1
- ubuntu resolute: hxtools 20251011-1 Β· MIT
- ubuntu stonking: hxtools 20251011-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms