SSH-AGENT-FILTER(1)
π SSH-AGENT-FILTER β bestie's guide to the manual page π
okay so this is ssh-agent-filter(1), a User Commands page, and it's genuinely one of the most slay little security tools out there. sit down, grab a strawberry π, and let me tell you about the filter that keeps your keys out of the wrong hands.
β¨ NAME β¨
ssh-agent-filter β a filtering proxy for ssh-agent, meant to be forwarded to untrusted servers π¦
no cap, that's the whole point. you hand a server a filtered view of your agent instead of the real thing. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
ssh-agent-filter [ OPTIONS ]
that's it. that's the whole command. it takes options and vibes.
π DESCRIPTION π
so ssh-agent-filter serves up the unix domain socket interface of an ssh-agent. like, the same interface β nobody on the other end can tell the difference. by default it forks and outputs shell code setting SSH_AUTH_SOCK and SSH_AGENT_PID, exactly like ssh-agent does. same energy, different girl. β¨
it filters each request according to its command line options. so whatever you allow is what gets through β everything else? not invited to the party. π
here's the important bit, and I need you to actually read this one: no crypto operations are done by ssh-agent-filter. none. zero. it doesn't touch your keys like that. all of that gets delegated to the upstream ssh-agent. this girl is a bouncer, not a locksmith. π
also: ssh-agent-filter is not meant to be used directly, but through afssh. so like, don't text it directly, go through its friend.
π OPTIONS π
every single one, bestie. no skipping.
-A,--all-confirmedβ allow all other keys, but with confirmation. so it's a yes, just a yes-with-a-question-first. π-c,--commentarg β the key is specified by its comment.-C,--comment-confirmedarg β the key is specified by its comment, with confirmation.-d,--debugβ show some debug info, and don't fork. (forking is cancelled, we're staying right here.)-f,--fingerprintarg β the key is specified by the pubkey's hex-encoded md5 fingerprint.-F,--fingerprint-confirmedarg β the key is specified by the pubkey's hex-encoded md5 fingerprint, with confirmation.-h,--helpβ print this help message. the classic. π«Ά-k,--keyarg β the key is specified by the base64-encoded pubkey.-K,--key-confirmedarg β the key is specified by the base64-encoded pubkey, with confirmation.-n,--namearg β a name for this instance ofssh-agent-filter, for confirmation purposes. give her a name, she deserves one. πΈ-V,--versionβ print version information.
notice a pattern? every "specify a key" option has a capital-letter twin that adds with confirmation. lowercase = just let it through. uppercase = ask me first. that's the entire personality of this tool and I'm obsessed. π
π ENVIRONMENT π
SSH_AUTH_SOCKβ socket of the upstreamssh-agent. (your real agent, the one doing the actual work.)SSH_ASKPASSβ command to run for confirmation questions. this is who gets asked when a-confirmedoption needs a yes. β¨
β AUTHOR β
written by Timo WeingΓ€rtner. king behaviour, fr fr. π
π REPORTING BUGS π
found a bug? report it to the Debian BTS at https://bugs.debian.org/ or by mail to timo@tiwe.de. be nice about it, bugs are just features that didn't get enough sleep. π
π¦ SEE ALSO π¦
and that's the whole page, bestie. this was ssh-agent-filter, version 0.5.3, dated March 2026 β go forth and filter responsibly. mwah π
πβ¨
π¦ where this page comes from
- ubuntu stonking: ssh-agent-filter 0.5.3-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms