SFTPCACHE(1)

πŸ“¦ version 0_git20260208, in alpine 3.24, arch rolling, nixos 26.05, nixpkgs unstable

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 🚨: sftpcache only works with OpenSSH versions 4.3 and earlier. Later versions do not print the sftp> 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. πŸŽ€βœ¨