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

Cache and reuse SSH passwords in the current session #9654

Merged
merged 7 commits into from
Aug 5, 2022

Conversation

xisui-MSFT
Copy link
Collaborator

@xisui-MSFT xisui-MSFT commented Jul 27, 2022

  • Cache password when one is entered.
  • Reuse this password if the user match in later commands.
  • If we get a password prompt for the same user and hostName in the same commands, we likely got a wrong password, so ask for it again.
  • Cached passwords are persisted via SecretStorage in extension context.
  • Show a progress notification when running deploy steps to avoid confusion during waiting.

Extension/src/SSH/commandInteractors.ts Outdated Show resolved Hide resolved
@sean-mcmanus sean-mcmanus added this to the 1.12.1 milestone Jul 30, 2022
@sean-mcmanus sean-mcmanus merged commit b885e2c into main Aug 5, 2022
@sean-mcmanus sean-mcmanus deleted the dev/xisui/reuse_password branch August 5, 2022 00:04
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants