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

[Feature Request] - Support PAM Keyboard Interactive Authentication #314

Open
Alex-Muirhead opened this issue Nov 20, 2024 · 0 comments
Open
Assignees
Labels
new feature New feature or request

Comments

@Alex-Muirhead
Copy link

Description

I would love to use termscp with my remote cluster at my university, however they've recently added a 2FA keyboard challenge when connecting via SSH (or others).

Once an SSH connection attempt is started, an interactive keyboard prompt will ask the user to enter a one-time-password. This step currently can't be handled by termscp (as far as I can tell from reading and poking).

Changes

It would be great if termscp could detect if a prompt was being requested, and create a pop-up prompt (or similar) that forwarded the prompt onto the user. Once the OTP is entered, the connection continues.

Implementation

I don't know exactly how to integrate it, but I've seen that the used ssh2 has a function for userauth_keyboard_interactive, which might solve the problem.

@Alex-Muirhead Alex-Muirhead added the new feature New feature or request label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants