GitBash not prompting for MFA in AWS CLI

Get real time updates directly on you device, subscribe now.

A fast publish on find out how to resolve a difficulty with Gitbash that forestalls MFA prompts whereas utilizing AWS CLI.

MFA GitBsah difficulty.

Drawback

GitBash beneath the hood makes use of winpty emulator for offering a bash expertise on home windows. Winpty doesn’t work properly with AWS CLI particularly when coping with MFA prompts. Therefore it’s essential change this with bash.exe and you ought to be good.

Process

Go to the Home windows begin menu and seek for Git Bash. Click on on Open file location.

Proper click on on the shortcut and choose Properties

Underneath properties change the goal from “C:Program FilesGitgit-bash.exe” to “C:Program FilesGitbinbash.exe

Now launch GitBash and you ought to be good.

Comments are closed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More