tilt-extensions icon indicating copy to clipboard operation
tilt-extensions copied to clipboard

Impossible to input SSH key passwords starting with letter T for git_checkout

Open Longsueynin opened this issue 4 years ago • 1 comments

This is definitely a bit of a niche scenario.

I'm using the git_checkout resource to fetch a repository. It's using SSH key for Git authentication. The SSH key is password protected. I will get a password prompt in the terminal in which I ran tilt up. Whenever I press the 'T' key, instead of writing it to the prompt, it seems to open the Tilt legacy terminal mode instead.

Any ideas for workarounds appreciated.

Longsueynin avatar Nov 10 '21 16:11 Longsueynin

Thanks for filing! Yeah, that doesn't behave very well at the moment. We need to change the git_resource extension to disable tty.

You should be able to work around this by running an ssh agent or setting one of the GIT_ASKPASS or SSH_ASKPASS environment variables.

landism avatar Nov 10 '21 18:11 landism