kingToolbox / kingToolbox/WindTerm

How to remember password for a 2FA ssh login

Open
#1,771 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm using a 2FA authentication, which has 2 steps:
1) a dynamic verification code
2) a fixed password

When I proceed with "Attempt keyboard-interactive authentication", the first step will always failed once. And it prompts me to try again. The 2nd attempt will succeed. Is it a bug?

And in the OneKey configuration, I add a challenge of "Password:" and a response of the fixed password. But it does not work. Nothing changes.

Can anyone tell me how to auto enter the fixed password? Xshell can do that by the way.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files or tests. Start by reproducing the keyboard-interactive SSH flow and the OneKey challenge configuration, then trace the authentication entry point. Done means determining whether the first failed prompt is a bug and whether the fixed password can be entered automatically.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.