SFTPCACHE(1)
SFTPCACHE(1) is the General Commands Manual page for sftpcache, and she is literally here to cache sftp connections for you, bestie. No cap. π
π NAME π
sftpcache β cache sftp connections πΎβ¨
β¨ SYNOPSIS β¨
sftpcache system
Thatβs the whole vibe: you call sftpcache with the system argument, and she does her thing. π«Ά
πΈ DESCRIPTION πΈ
Okay so hereβs the tea: sftpcache multiplexes clients onto persistent sftp(1) connections. Iconic behavior, honestly.
She runs sftp system and posts a socket named system.sftp in the name space directory (see intro(4)). Yes, the name space directory β not a typo, iykyk.
Clients can connect to the socket β one at a time β to interact with the sftp session. So share the connection, but take turns, bestie. π
And yeah, sftpcache is used by netfiles(1). Sheβs a whole supporting character that ate. π
π§ SOURCE π§
The source is at:
/src/cmd/sftpcache.c
Thatβs the spot. Go look if youβre nosy (respectfully). π
π¦ SEE ALSO π¦
Go give them a read, bestie. β¨
π BUGS π
π¨ BUG ALERT π¨:sftpcacheonly works with OpenSSH versions 4.3 and earlier. Later versions do not print thesftp>prompt frequently enough.
So yeah, no cap: if youβre on a later OpenSSH, this is giving incompatible. Check that version before you get attached. π
kiss kiss π this was SFTPCACHE(1), sourced from /src/cmd/sftpcache.c β date? not listed on this page, so sheβs timeless, periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms