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

Allow MFA code to be provided when using Remote SSH with AWS SSM #6574

Closed
Fydon opened this issue Apr 6, 2022 · 4 comments
Closed

Allow MFA code to be provided when using Remote SSH with AWS SSM #6574

Fydon opened this issue Apr 6, 2022 · 4 comments
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@Fydon
Copy link

Fydon commented Apr 6, 2022

I used to be able to enter my Multi-Factor Authentication code for AWS SSM when using Remote SSH, but now it only shows on the output window where I can't provide input. I think that it used to appear in the terminal. As a workaround, I can provide the MFA for another command just prior to SSH so that it doesn't prompt.

@github-actions github-actions bot added the ssh Issue in vscode-remote SSH label Apr 6, 2022
@tanhakabir
Copy link

Would you be able to share your Remote SSH logs?

@tanhakabir tanhakabir added the info-needed Issue requires more information from poster label Apr 12, 2022
@Fydon
Copy link
Author

Fydon commented Apr 12, 2022

Sorry it seems to be working again. I use vscode-insider so maybe a nightly broke something when I previously tried it.

@Fydon Fydon closed this as completed Apr 12, 2022
@tanhakabir
Copy link

Hm I'm not sure but I haven't pushed any changes in the pre-release of the extension recently. My guess would be that your setting showLoginTerminal was set to false

@Fydon
Copy link
Author

Fydon commented Apr 12, 2022

Yes I see that remote.SSH.showLoginTerminal is still false, but working as false at the moment. I'll try remember to make it true if this happens again. Thank you.

@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants