You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for SSH two-factor authentication / keyboard-interactive authentication #1920
Please add support for connecting to databases through an SSH tunnel when the SSH server requires two-factor authentication.
My server uses Google Authenticator through PAM. During SSH authentication, the server requests both:
The user's SSH password or private key.
A one-time verification code generated by Google Authenticator.
This authentication flow works correctly in TablePlus, but currently I cannot establish the same SSH tunnel connection in TablePro because there is no way to respond to the additional authentication prompt.
This is likely related to missing support for SSH keyboard-interactive authentication.
Add support for SSH keyboard-interactive authentication.
When the SSH server requests an additional verification code, TablePro should display the server-provided prompt and allow the user to enter the response.
The implementation should support generic keyboard-interactive prompts rather than being limited specifically to Google Authenticator. This would also allow TablePro to work with other PAM-based MFA solutions.
Alternatives considered
Disabling two-factor authentication on the SSH server or creating a separate user without MFA would reduce server security and would not be acceptable in environments where SSH two-factor authentication is mandatory.
Connecting through an externally created SSH tunnel is technically possible, but it requires additional manual configuration and is less convenient than native SSH tunnel support.
Activity
feat(ssh): support keyboard-interactive 2FA for key and agent auth (#…