I am using a custom shortcut to scp a built application to a remote location. In that same shortcut I also chmod and chown to that same app. This seems to work the first time i add it into a project but after 10 to 15 minutes of not using this shortcut it seems to fail giving ‘LIBSSH2 error inval’ as the only error output. I can simply open the VisualGDB properties menu for that application and close it immediately and fix this issue. I do not have to change a single thing just simply open a menu. When i close the menu it seems to be doing a project scan as a result and can take some time. Any ideas on how to fix this?
As a note i have also tried using different authentication methods for connecting to the remote target. they all seem to work and connect initially but all cause that same error after enough time.