Cannot pull changes from GitHub via SSH+keeagent
Created originally on Bitbucket by Anonymous
My config:
- TortoiseHg 4.9.1
- Kitty 0.70.0.10
- KeePass 2.42.1
- KeeAgent 0.10.1.0
- GitExtensions works well
- hg cannot pull changes from github via ssh & keeagent (via https works well)
1. TortoisePlink
RepoName% hg pull
% hg pull
pulling from git+ssh://github.com/User-Name/RepoName.git
(login dialog)
прервано: git remote error: The remote server unexpectedly closed the connection.
[command returned code 255 Sun Jul 21 13:05:01 2019]
interrupted!
2. SSH
RepoName% hg pull
% hg pull
pulling from git+ssh://github.com/User-Name/RepoName.git
Warning: Permanently added the RSA host key for IP address '140.82.118.3' to the list of known hosts.
xxx@github.com: Permission denied (publickey).
прервано: git remote error: The remote server unexpectedly closed the connection.
[command returned code 255 Sun Jul 21 13:06:35 2019]
RepoName% interrupted!
3. Klink
RepoName% hg pull
% hg pull
pulling from git+ssh://github.com/User-Name/RepoName.git
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/Mekk/mercurial_keyring/issues
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, mercurial_keyring, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/Mekk/mercurial_keyring/issues
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, mercurial_keyring, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 50, in <module>
File "mercurial\dispatch.pyo", line 99, in run
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 5273, in serve
File "mercurial\server.pyo", line 147, in runservice
File "mercurial\commandserver.pyo", line 405, in run
File "mercurial\commandserver.pyo", line 346, in serve
File "mercurial\commandserver.pyo", line 319, in serveone
File "mercurial\commandserver.pyo", line 303, in runcommand
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgsubversion\wrappers.pyo", line 737, in generic
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\rebase.pyo", line 1861, in pullrebase
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext3rd\evolve\__init__.pyo", line 759, in wrapmayobsoletewc
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 4474, in pull
File "hgsubversion\wrappers.pyo", line 577, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\util.py", line 60, in inner
File "c:\opt\hgpython11\Lib\site-packages\hggit\__init__.py", line 380, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 279, in fetch
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 1228, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 814, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 211, in read_pkt_refs
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 254, in read_pkt_seq
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 203, in read_pkt_line
ValueError: invalid literal for int() with base 16: 'logi'
cmdserver: process exited unexpectedly with code 255
4. PLINK
RepoName% hg pull
% hg pull
pulling from git+ssh://github.com/User-Name/RepoName.git
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/Mekk/mercurial_keyring/issues
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, mercurial_keyring, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** Unknown exception encountered with possibly-broken third-party extension mercurial_keyring
** which supports versions unknown of Mercurial.
** Please disable mercurial_keyring and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/Mekk/mercurial_keyring/issues
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, mercurial_keyring, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 50, in <module>
File "mercurial\dispatch.pyo", line 99, in run
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 5273, in serve
File "mercurial\server.pyo", line 147, in runservice
File "mercurial\commandserver.pyo", line 405, in run
File "mercurial\commandserver.pyo", line 346, in serve
File "mercurial\commandserver.pyo", line 319, in serveone
File "mercurial\commandserver.pyo", line 303, in runcommand
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgsubversion\wrappers.pyo", line 737, in generic
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\rebase.pyo", line 1861, in pullrebase
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext3rd\evolve\__init__.pyo", line 759, in wrapmayobsoletewc
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 4474, in pull
File "hgsubversion\wrappers.pyo", line 577, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\util.py", line 60, in inner
File "c:\opt\hgpython11\Lib\site-packages\hggit\__init__.py", line 380, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 279, in fetch
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 1228, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 814, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 211, in read_pkt_refs
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 254, in read_pkt_seq
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 203, in read_pkt_line
ValueError: invalid literal for int() with base 16: 'logi'
cmdserver: process exited unexpectedly with code 255
5. After disable mercurial-keyring
RepoName% hg pull
% hg pull
pulling from git+ssh://github.com/User-Name/RepoName.git
** Unknown exception encountered with possibly-broken third-party extension automv
** which supports versions unknown of Mercurial.
** Please disable automv and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** Unknown exception encountered with possibly-broken third-party extension automv
** which supports versions unknown of Mercurial.
** Please disable automv and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.9.1)
** Extensions loaded: evolve, shelve, transplant, hggit, amend, hgsubversion, histedit, strip, mq, rebase, releasenotes, remotenames, share, show, automv, absorb, censor, churn, extdiff, fastannotate, fix, journal, purge, simplelock, zipdoc, lfs, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
File "hg", line 50, in <module>
File "mercurial\dispatch.pyo", line 99, in run
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 5273, in serve
File "mercurial\server.pyo", line 147, in runservice
File "mercurial\commandserver.pyo", line 405, in run
File "mercurial\commandserver.pyo", line 346, in serve
File "mercurial\commandserver.pyo", line 319, in serveone
File "mercurial\commandserver.pyo", line 303, in runcommand
File "mercurial\dispatch.pyo", line 225, in dispatch
File "mercurial\dispatch.pyo", line 376, in _runcatch
File "mercurial\dispatch.pyo", line 384, in _callcatch
File "mercurial\scmutil.pyo", line 165, in callcatch
File "mercurial\dispatch.pyo", line 367, in _runcatchfunc
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 1021, in _dispatch
File "hgext\journal.pyo", line 90, in runcommand
File "mercurial\dispatch.pyo", line 756, in runcommand
File "mercurial\dispatch.pyo", line 1030, in _runcommand
File "mercurial\dispatch.pyo", line 1018, in <lambda>
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\mq.pyo", line 3633, in mqcommand
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgsubversion\wrappers.pyo", line 737, in generic
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext\rebase.pyo", line 1861, in pullrebase
File "mercurial\util.pyo", line 1670, in check
File "mercurial\util.pyo", line 1670, in check
File "hgext3rd\evolve\__init__.pyo", line 759, in wrapmayobsoletewc
File "mercurial\util.pyo", line 1670, in check
File "mercurial\commands.pyo", line 4474, in pull
File "hgsubversion\wrappers.pyo", line 577, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\util.py", line 60, in inner
File "c:\opt\hgpython11\Lib\site-packages\hggit\__init__.py", line 380, in exchangepull
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 279, in fetch
File "c:\opt\hgpython11\Lib\site-packages\hggit\git_handler.py", line 1228, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 814, in fetch_pack
File "c:\opt\hgpython11\Lib\site-packages\dulwich\client.py", line 211, in read_pkt_refs
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 254, in read_pkt_seq
File "c:\opt\hgpython11\Lib\site-packages\dulwich\protocol.py", line 203, in read_pkt_line
ValueError: invalid literal for int() with base 16: 'logi'
cmdserver: process exited unexpectedly with code 255