Mailing List Archive

[Bug 3439] identify password prompts
https://bugzilla.mindrot.org/show_bug.cgi?id=3439

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED

--- Comment #2 from Darren Tucker <dtucker@dtucker.net> ---
(In reply to tar.ancalime.numenor from comment #0)
> I have no idea who prints the respective prompts, I'd assume the
> normal passphrase prompt is printed by OpenSSH client, but the OTP
> prompt by the remote server?

There are two types of prompts:
1) Prompts for ssh "password" authentication method. These are
generated by the client and look like this (and have for quite some
time):

$ ssh -o preferredauthentications=password localhost
dtucker@localhost's password:

2) prompts for "keyboard-interactive" authentication method. These are
generated by the server (usually via the PAM config) and can look like
pretty much anything. For a simple PAM configuration with password
authentication they'll typically look something like "Password: ", but
could be your OTP prompts if that's what you have. Since 8.5, these
with be prefixed by "(user@host)" to identify them:

$ ssh -o preferredauthentications=keyboard-interactive localhost
(dtucker@localhost) Password:

If you can reproduce this behaviour with 9.0 or above, please reopen
this bug and attach the full debug output "ssh -vvv yourserver"
demonstrating the problem.

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs