Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handelling for Interactive Authentication Prompts (2FA, MOTD etc) #67

Open
sifex opened this issue Mar 22, 2021 · 2 comments
Open

Comments

@sifex
Copy link

sifex commented Mar 22, 2021

When an SSH session is opened, all of our infrastructure utilities some form of secondary prompt for authentication, usually in an OTP token.

It would be nice if there was a better interface for showing secondary factor prompts & MOTD (typically /etc/issue) / Logon disclaimers to be able to use this more in an enterprise setting.

Happy to include local docker PoCs if required for issue reproduction

@sifex sifex closed this as completed Mar 22, 2021
@sifex sifex reopened this Mar 22, 2021
@sifex
Copy link
Author

sifex commented Mar 22, 2021

Note, whilst this covers 2FA in the SSH Key File sense, this issue would also cover purely interactive authentication mechanisms:
#63

@kingToolbox
Copy link
Owner

Thank you for your suggestion.

Usually SSH authorization methods include none, password, public-key, keyboard-interactive and gssapi-with-mic. WindTerm tries to provide good support for the above methods from the beginning of its design, and in most cases 2FA is just a variant of keyboard-interactive. Now the new version 2.0.2 has fixed #63. If you are interested, you can download and try it. If you feel that there are still shortcomings, we can further discuss how to make it better. 😄

MOTD is another question. If MOTD is not displayed after login as context, there is indeed no good widget to provide reading. However, I have not encountered such a server so far. If it exists, it is worth changing the design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants