#354939 openssh-client: Customizable ssh password prompt

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
"Ramkumar R. Aiyengar"
Date:
2010-05-23 15:27:04 UTC
Severity:
wishlist
#354939#5
Date:
2006-03-02 08:48:47 UTC
From:
To:
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.

#354939#10
Date:
2006-03-02 10:21:06 UTC
From:
To:
Hi!

Just noticed that this bug is very similar to #343267. Sorry to have
noticed it earlier. I would still like to know if the local ssh
client can add to the prompt offered by the remote pam module using
one of the ways I had described earlier.

Regards,
Ramkumar.