-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[git bash][ssh] unable to accessing a remote hg repo through ssh #428
Comments
In your |
Oh, I think I know what it is... It is Python not being able to handle the mintty console window. To verify, could you test both of the following two options?
|
It's the same as 1.
Nothing happened after running hg pull. I wait about 5 mins and have to terminate git bash. I tried to add but I can
😦 |
I guess it is this line that is most helpful in identifying the problem. Unfortunately, the export DISPLAY=needs-to-be-defined
export SSH_ASKPASS=/mingw64/libexec/git-core/git-gui--askpass (You might need to invoke Does that work for you? The alternative would be of course to switch to MSys2 altogether and use its own Mercurial which is guaranteed to work fine. |
That works for me. 😃 😘 |
Thank you so much for fixing this. 😆 |
I tried to apply the patch to |
Thank you for your prompt feedback! |
Sparse index: integrate with `git stash`
In
Git-1.9.5-preview20150319
, I can access remote hg repo.Ake@SIGMATAUPI /D/dev/custume
$ hg pull
pulling from ssh://[email protected]/nanake/custume
Enter passphrase for key '/c/Users/Ake/.ssh/bitbucket/id_rsa':
searching for changes
no changes found
When I upgraded to
Git-2.5.3-32-bit
.I can access to git repo.
Ake@sigmataupi MINGW32 /d/dev/sandbox (master)
$ git pull
Enter passphrase for key '/c/Users/Ake/.ssh/bitbucket/id_rsa':
Already up-to-date.
I cannot access remote hg repo.
Ake@sigmataupi MINGW32 /d/dev/custume
$ hg pull
pulling from ssh://[email protected]/nanake/custume
remote: Permission denied (publickey).
abort: no suitable response from remote hg!
Ake@sigmataupi MINGW32 /d/dev/custume
$ hg in
remote: Permission denied (publickey).
abort: no suitable response from remote hg!
but I can
ssh -t
Ake@sigmataupi MINGW32 /d/dev/custume
$ ssh -T [email protected]
Enter passphrase for key '/c/Users/Ake/.ssh/bitbucket/id_rsa':
logged in as nanake.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
github:
Ake@sigmataupi MINGW32 /d/dev/custume
$ ssh -T [email protected]
Enter passphrase for key '/c/Users/Ake/.ssh/github/id_rsa':
Hi nanake! You've successfully authenticated, but GitHub does not provide shell access.
😍😍 Please support access to hg repo via ssh again like git 1.9.5 😍😍
I'm on windows 10. Install from installer.
Options are:
$PATH from git bash
Ake@sigmataupi MINGW32 ~
$ echo $PATH
/c/Users/Ake/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/mingw32/bin:/usr/bin:/c/ProgramData/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files/ThinkPad/Bluetooth Software:/c/Python34:/c/Python34/Scripts:/c/ProgramData/chocolatey/bin:/c/Program Files/OpenVPN/bin:/c/Program Files/nodejs:/cmd:/mingw32/bin:/usr/bin:/c/Tcl/bin:/c/Program Files/Mercurial:/c/Program Files/EditPlus 3:/c/Program Files/Sublime Text 3:/c/platform-tools:/c/ProgramData/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files/ThinkPad/Bluetooth Software:/c/Python34:/c/Python34/Scripts:/c/ProgramData/chocolatey/bin:/c/Program Files/OpenVPN/bin:/c/Program Files/nodejs:/cmd:/mingw32/bin:/usr/bin:/c/cmdtools/zip:/c/cmdtools/sqlite:/c/Users/Ake/AppData/Roaming/npm:/c/Program Files/MacType:/usr/bin/vendor_perl:/usr/bin/core_perl
%PATH% from git cmd
C:\Users\Ake>echo %PATH%
C:\Program Files\Git\cmd;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Python34;C:\Python34\Scripts;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenVPN\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw32\bin;C:\Program Files\Git\usr\bin;C:\Tcl\bin;C:\Program Files\Mercurial;C:\Program Files\EditPlus 3;C:\Program Files\Sublime Text 3;C:\platform-tools;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Python34;C:\Python34\Scripts;C:\ProgramData\chocolatey\bin;C:\Program Files\OpenVPN\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw32\bin;C:\Program Files\Git\usr\bin;C:\cmdtools\zip;C:\cmdtools\sqlite;C:\Users\Ake\AppData\Roaming\npm;C:\Program Files\MacType
$HOME from git bash
Ake@sigmataupi MINGW32 ~
$ echo $HOME
/c/Users/Ake
%HOME% from git cmd
C:\Users\Ake
The text was updated successfully, but these errors were encountered: