sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Freezes on Windows with Pageant when an SSH key has to be accepted #1898

Open bmuessig opened 2 months ago

bmuessig commented 2 months ago

Version info

Description

When connecting to a server for the first time on Windows with Pageant, Pageant expects a yes/no response on its standard in whether you want to connect to the new server. Since the command is still running, Sublime merge just freezes until you cancel the process. While it is possible to work around this, it is very inconvenient (which is Sublime Merge's primary selling point ;)

Steps to reproduce

Steps to reproduce the behavior:

  1. Setup Sublime Merge with Pageant on Windows
  2. Clone a new repository you need an SSH key for on a new server
  3. See Sublime Merge never complete cloning

Expected behavior

Sublime Merge should display a message whether you want to accept the key and then just write a yes or no response on standard in. Alternatively there could be simple yes/no buttons in the console to allow you to respond to blocking interactive questions.

dpjohnst commented 1 month ago

Hi @bmuessig,

Thanks for reporting this bug!

We currently have a custom askpass program bundled with Sublime Merge that should handle this case, however clearly this isn't happening. I'll be investigating this further.

Kind regards, - Dylan from Sublime HQ

bmuessig commented 1 month ago

Thank you, @dpjohnst