Skip to content

[Bug]: SSH 2FA prompt is misleadingly labeled “SSH Password Required” #10784

Description

@fabianclain

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

Description

When connecting to an SSH server that requires a public key followed
by a TOTP verification code, T3 Code displays “SSH Password Required”
and asks for the user's SSH password.

This is confusing because the SSH key has already been accepted.
The remaining authentication step is a Google Authenticator code,
not the account password.

Environment

  • T3 Code 0.0.40, Linux AppImage
  • Remote host: Ubuntu / OpenSSH
  • Connection over Tailscale
  • SSH configuration:
    AuthenticationMethods publickey,keyboard-interactive:pam
    PasswordAuthentication no
  • PAM: pam_google_authenticator.so

Steps to reproduce

  1. Connect to an SSH server configured as above.
  2. Complete the public-key authentication step.
  3. Observe the “SSH Password Required” dialog.

Expected behavior

Expected behavior

Display the server's keyboard-interactive prompt, or use wording
such as “SSH verification required” with an explanation that the
requested value may be a password or a verification code.

Avoid suggesting that SSH keys eliminate this prompt when the
server explicitly requires a second factor.

Actual behavior

Actual behavior

The dialog asks for an SSH password and recommends using SSH keys,
even though the key was accepted and the server requires 2FA.

Diagnostic evidence

A fresh SSH connection with verbose logging shows:

Server accepts key: ...
Authenticated using "publickey" with partial success.
Authentications that can continue: keyboard-interactive

Successful submission of the TOTP code through T3 has not yet
been verified. This report concerns the misleading dialog wording.

Impact

Cosmetic issue

Version or commit

Version 0.0.40

Environment

ubuntu 24.04,

Logs or stack traces

Screenshots, recordings, or supporting files

Image

Workaround

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions