Checking ssh identity required for packages from git
Opened this issue · 2 comments
oklas commented
Currently it hangs and does nothing without any messages if ssh identity for git-packages not loaded. Just run ssh-add
solves the problem. I would be good if error message appears about identity or timeout or something else.
skaji commented
cpm may set GIT_TERMINAL_PROMPT=0.
Does it work for you?
oklas commented
This does not affect, but I got your thoughts. The problem solves this one:
GIT_SSH_COMMAND="ssh -oBatchMode=yes"
(possibly both are required 🤷♂️ )
With this it continues work and fetches all that are possible and for
others prints errors like:
Failed cloning git repository
and finished after all - that is fine and clean.
сб, 19 дек. 2020 г. в 11:13, Shoichi Kaji <notifications@github.com>:
… Does setting GIT_TERMINAL_PROMPT=0 work for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#191 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB57HXFPZTUOZZNUW5ZPNX3SVROBLANCNFSM4VBPWSKQ>
.