LizardNet Code Review/PuTTY-Gerrit bug
A bug has been discovered in the version of Apache SSHd that LizardNet Code Review uses. This bug seems to only affect Git users who use PuTTY instead of OpenSSH as their SSH provider; likewise, this bug usually only appears on Windows systems. Until Apache SSH is patched, a minor workaround exists for the bug that will allow users to effectively bypass it.
The bug usually occurs when cloning a Git repository from LizardNet Code Review by SSH, though it may also occur on pulls or fetches. Git will pull changes just fine, but will hang at
Resolving deltas: 100% (n/n), done.. If you are on Windows and/or are using PuTTY as your Git SSH provider, please follow these directions to work around the issues:
- Launch PuTTY. If you can't find it on your computer, you can simply redownload it from here, as all PuTTY instances on a single computer use the same registry entries for configuration.
- If you use GitExtensions, make sure you have PuTTY set as your default SSH client. Go to Tools > Settings and click SSH in the section list on the left. Make sure PuTTY is selected under Specify which SSH client to use.
- In the PuTTY Configuration window, in the section list on the left, go to Connection > SSH > Bugs.
- Under Detection of known bugs in SSH servers, find Chokes on PuTTY's SSH-2 'winadj' requests. Set this to On
- In the section list on the left, go back to Session at the very top
- Under Load, save or delete a stored session, click Default Settings, then click the Save button.
- Close PuTTY. You should now be able to clone a LizardNet Code Review Git repository successfully.
For more information, please see the following links: