SCP is not working after making gitbash as default shell in windows server 2022

26 Views Asked by At

It appears that SCP (Secure Copy Protocol) functions seamlessly when PowerShell is set as the default shell on both VMs running Windows Server 2022. However, when Git Bash is selected as the default shell, SCP encounters connection issues and fails to transfer files, resulting in a "connection lost" error message.

0

There are 0 best solutions below