cpm icon indicating copy to clipboard operation
cpm copied to clipboard

Checking ssh identity required for packages from git

Open oklas opened this issue 4 years ago • 2 comments

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.

oklas avatar Dec 18 '20 17:12 oklas

cpm may set GIT_TERMINAL_PROMPT=0. Does it work for you?

skaji avatar Dec 19 '20 08:12 skaji

This does not affect, but I got your thoughts. The problem solves this one: GIT_SSH_COMMAND="ssh -oBatchMode=yes" (possibly both are required :man_shrugging: )

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 [email protected]:

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 https://github.com/skaji/cpm/issues/191#issuecomment-748439615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB57HXFPZTUOZZNUW5ZPNX3SVROBLANCNFSM4VBPWSKQ .

oklas avatar Dec 19 '20 09:12 oklas