Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-07 Thread Michael Brian Bentley
We run an application under Windows 2003 Server Standard Edition as a service using Firedaemon. That application invokes ssh connections using the command c:\cygwin\bin\ssh -T -l fill_in_the_username with the appropriate ssh keys setup well ahead of time. When a user logs onto the W2k3 Server

Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-08 Thread Michael Brian Bentley
The developer who wrote the relevant code writes: The terminal window that ssh is running inside of is not visible. si.wShowWindow = SW_HIDE; is used to accomplish this in the CreateProcess. si.cb = sizeof(STARTUPINFO); si.dwFlags = STARTF_USESTDHANDLES|STARTF_USESHOWWINDOW; si.hS

Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-09 Thread Michael Brian Bentley
You could do me a favour and try the latest Cygwin snapshot 2005-Sep-08 from http://www.cygwin.com/snapshots/ It contains a patch which let Cygwin application ignore the LOGOFF event entirely and let the default mechanism deal with it. I'd be interested if it changes the observed behaviour. That

Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-09 Thread Michael Brian Bentley
You could do me a favour and try the latest Cygwin snapshot 2005-Sep-08 from http://www.cygwin.com/snapshots/ It contains a patch which let Cygwin application ignore the LOGOFF event entirely and let the default mechanism deal with it. I'd be interested if it changes the observed behaviour. That

Re: Logout Terminal Services RDC ends ssh invoked by W2k3 service

2005-09-09 Thread Michael Brian Bentley
You could do me a favour and try the latest Cygwin snapshot 2005-Sep-08 from http://www.cygwin.com/snapshots/ It contains a patch which let Cygwin application ignore the LOGOFF event entirely and let the default mechanism deal with it. I'd be interested if it changes the observed behaviour. That