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

sdk: Smartly guess correct SSH authentication method #85

Open
t1m0thyj opened this issue Feb 7, 2025 · 0 comments
Open

sdk: Smartly guess correct SSH authentication method #85

t1m0thyj opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Feb 7, 2025

Currently we prompt the user to choose between Password, Private Key, and Private Key + Passphrase

Investigate if the ssh2 package supports the following strategy:

  1. First try to connect with private keys
  2. If passphrase is missing, prompt for it
  3. If keys don't work, prompt for password

The SDK should contain logic for handling authentication methods so it can be shared across CLI, VSCE, and other extenders.

@t1m0thyj t1m0thyj added the enhancement New feature or request label Feb 7, 2025
@jace-roell jace-roell self-assigned this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants