On 05/29/2016 03:57 PM, Mike DePaulo wrote:
Anyone?
On May 23, 2016 8:14 AM, "Mike DePaulo" <mikedep333@gmail.com <mailto:mikedep333@gmail.com>> wrote:
Hi guys, Background: I am trying to fix bug #1002 completely; there appear to be multiple underlying bugs. One of them is that unless I start x2goclient from a cygwin shell, cygwin sshd doesn't actually listen its port.
A shoot in the dark:
Working on something unrelated, I faced a similar problem yesterday and found the problem to be that sshd can't be started directly from native Windows programs because then it fails to find some dlls.
My solution was to invoke it through a login shell so that the environment is properly set:
C:\cygwin\bin\bash --login -c "/usr/sbin/sshd ..."