Version: 1.0.0-alpha.61
Platform: win32 6.1.7601
Plugins:
SSH
Login SSH terminal, and as soon as do git push or git pull, terminal will be freeze.(Ctrl+C can not also interrupt that status)
Login SSH terminal, and connect another ssh server, for example, execute ssh [email protected], terminal will be freeze, too.
Version: 1.0.0-alpha.62
Platform: win32 10.0.17134
Plugins: shell-selector, title-control
This is the error message in the Console:
entry.preload.ts:35 Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:75)
at writeGeneric (internal/stream_base_commons.js:70)
at Socket._writeGeneric (net.js:758)
at Socket._write (net.js:770)
at doWrite (_stream_writable.js:410)
at writeOrBuffer (_stream_writable.js:394)
at Socket.Writable.write (_stream_writable.js:294)
at Socket.Writable.end (_stream_writable.js:579)
at Socket.end (net.js:534)
at PageantSock.write (C:\Users\QuQu\AppDat鈥ist\index.js:17377)
entry.preload.ts:35 Error: spawn C:\util\pagent.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:229)
at onErrorNT (internal/child_process.js:406)
at process._tickCallback (internal/process/next_tick.js:63)
Some crazy shit happens here between ssh2 nodejs lib (who use own copy of pag{e}ant) and and great Electron Framework on which this greatest terminal app of all time build)). On certain circumstances ssh2 go not to own folder, but for root folder which is C:/, and can't find any bit own pagent.
So workaround for those who desperately need "git push" is - to put that file where it want. This file https://github.com/mscdex/ssh2/blob/master/util/pagent.exe to that place C:\util\pagent.exe
And you need Putty SSH authentication agent pageant.exe already running.
Most helpful comment
Login SSH terminal, and as soon as do git push or git pull, terminal will be freeze.(Ctrl+C can not also interrupt that status)