you might get somewhere following the answer to this question:
http://serverfault.com/questions/344295/is-it-possible-to-run-sshd-as-a-normal-user

given tha cygwin's sshd should be somewhat close to a normal sshd, you
might get lucky and find that UsePrivilegeSeparation no does what you want.
You also will need to launch sshd not as a service but from the desktop so
that you get access to *both* the network *and* the desktop. Running as a
service you need to pick which one of those your service gets access to IIRC

DISCLAIMER: it is *years* since I have used Windows... lucky me!


On 20 May 2014 06:37, Mani Azizzadeh <[email protected]> wrote:

> Hi, I have a windows slave where I want to run automated UI tests. Because
> of organizational requirements I need to run it as an SSH slave (cannot use
> jnlp). The problem is that cygwin ssh server runs as a service and
> therefore runs the UI tests in another session/desktop. This causes
> problems for me and the automation is not working as expected and is not
> visible either.
>
> I was thinking if there is an easy way to run cygwin sshd as a regular
> process in the user session of a logged in user, could that be an
> alternative?
>
> The other alternative I could think of is to use a tool like psexec to
> force the automation process to run in the interactive desktop of the
> logged in user.
>
> What do you think, any experiences of this scenario? All suggestions are
> very appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to