SSH-ASKPASS-NOINPUT(1)

๐Ÿ’– ssh-askpass-noinput(1) โ€” the manual, but make it a group chat ๐Ÿ’–

okay so bestie, welcome to ssh-askpass-noinput from the SSH-ASKPASS-NOINPUT manual. it's giving "tiny program, huge personality" and honestly? i'm obsessed. let's get into it ๐Ÿซถ


โœจ NAME โœจ

ssh-askpass-noinput โ€” an ssh-askpass implementation that's literally only here to ask you allow/deny questions ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

ssh-askpass-noinput text

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so ssh-askpass-noinput is an implementation of ssh-askpass, right? but here's the plot twist โ€” it does not actually ask you for a password. like, at all. no cap. instead it only asks a binary (allow/deny) question, and then it exits with 0 for allow and 1 for deny. that's it. that's the whole vibe check. โœจ

and it is not intended as a general replacement for ssh-askpass, bestie, i need you to hear me on this. it's for special applications that genuinely don't care about a passphrase. niche queen behavior. ๐Ÿ‘‘


๐ŸŽ€ OPTIONS ๐ŸŽ€

as usual with ssh-askpass implementations, ssh-askpass-noinput only takes a single argument, which will be presented as the question.

  • text โ€” the question, the prompt, the moment of truth. this one argument gets shown to you and you go yes or no. ๐Ÿซถ

๐Ÿ’œ BACKGROUND AND APPLICATIONS ๐Ÿ’œ

okay so why does this exist, you ask? some programs (ssh-agent and ssh-agent-filter) use ssh-askpass to have users confirm actions without entering a passphrase. ssh-agent does this when it's used via ssh-add's -c option. periodt.

but here's the thing that's lowkey messy โ€” those programs do not indicate that it's a binary question (because in the classical ssh-agent invocation, there's no option to do this, iykyk). so they just expect the user to ignore the text input and click "OK" or "Cancel", whereupon they read the askpass's exit status. main character energy, honestly. ๐Ÿ˜ญ

so for programs that are known to only ask those questions, setting SSH_ASKPASS=ssh-askpass-noinput in their environment will make them use this particular implementation for their questions. slay. ๐ŸŽ€

โš ๏ธ but bestie โ€” it should never be installed as /usr/bin/ssh-askpass. not ever. don't do it. i'm so serious. ๐Ÿ’€

๐Ÿ”ฎ FUTURE ๐Ÿ”ฎ

this solution is obviously a hack. it's giving duct tape and prayers. it's needed until a way is established and implemented for ssh-askpass to be used more flexibly. so likeโ€ฆ we wait. ๐Ÿ™ˆ


๐ŸŒˆ SEE ALSO ๐ŸŒˆ


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

ssh-askpass-noinput was conceived by chrysn chrysn@fsfe.org.

both the program and this man page are free software ๐Ÿ’– โ€” you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

๐Ÿ’… AUTHORS (yes, again, double credits, iconic) ๐Ÿ’…

chrysn chrysn@fsfe.org


and that's the whole page, bestie!! ๐ŸŒŸ this edition of SSH-ASKPASS-NOINPUT() is dated 2013-10-26 โ€” yes it's been serving cunt since 2013 and it's still that girl. bye ily, go allow some stuff responsibly ๐ŸŒธ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from