subsystem request failed on channel 0 scp: Connection closed

Try -O as an option in your scp cmd, i.e.

scp -p -O -P 29418 [email protected]:hooks/commit-msg “jyei-erp/.git/hooks/”

Faced similar issue. This solution is from comments in github regarding this problem. For more details – https://github.com/PowerShell/Win32-OpenSSH/issues/1945

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)