When I try to launch a debug executable VisualGDB debugger, I get the error “LIBSSH2 returned LIBSSH2_ERROR_SOCKET_RECV”. I believe the issue is that the executable that is copied to the deployment machine doesn’t have executable permissions. The executable on the build machine does have executable permissions. Once in a while when I try to launch (say 1 out of every 10 times), it launches successfully. In these rare cases the target executable does have executable permissions.
I assume VisualGDB is doing a chmod +x after the executable is copied to the deployment machine, but this usually (but not always) fails. Don’t know why. SSH connection is using root.
Is there any way to automatically repeat a chmod +x after the executable has been copied to the deployment machine?
FYI, I have the trial license, I want to make sure this works before I purchase.