Running windows GUI programs over SSH
I wanted to run commands over ssh on a windows computer and then start a GUI command like internet explorer as the current logged in user.
- Install either FreeSSHD or KpyM Telnet/SSH Server
- Download ondesk.exe from KpyM blog
- Start as current user ondesk.exe allow
- login with ssh
- start Internet explorer with ondesk “C:\Program Files\Internet Explorer\iexplore.exe http://www.vanreijmersdal.nl/”
- kill the process remotely again ondesk “taskkill /F /IM iexplore.exe”
The usages could be
- Start build steps from Jenkins
- Connect browsers to a JsTestDriver server




