When ssh is used with an GUI program like ssh-askpass for password
information, it really leaves the user clueless (especially with
something like ssh-askpass-fullscreen which grabs the keyboard and
the screen) with just a prompt "Password" and a text entry :)
Another use case: take sshfs, and asking it to reconnect every time
the connection is lost, makes it impossible to use any other means
but trusted keys (not possible many a time) or ssh-askpass. Due to
network trouble, the connection gets lost and you suddenly get a
full screen asking for "Password"... well, what was that?! :)
I could think of two solutions:
1. Offer to provide more information especially when using a
password request program (the command line/user@host to which it
is connecting?)
2. Give a -o PasswordPrompt which the parent program can use.
An even better solution would be to allow a PasswordPrompt with %
escapes to fill in with the user@host, options etc. That way, I can
use a single command line with many connections to many places.
Regards,
Ramkumar.