Todd Smith Org

October 10, 2009

Run Windows Application on Desktop from Cygwin SSHD

Filed under: Network Monitoring,Windows Administration — admin @ 3:47 am

Tags: Nagios, Nexus Director, Event handler, Windows, Cygwin, OpenSSH

I needed to run a program via SSHD on Windows

1) Run Cygwin Installer from

2) Install OpenSSH, OpenSSL, vi

3) Double click Cygwin on desktop

chmod +r /etc/passwd /etc/group
find /var -type d -exec chmod -v 755 {} \;
net start sshd

4) Open your Windows Control Panel –> Administrative Tools –> Services, find the “CYGWIN sshd” item. Right click on it and choose “Properties”. Click on the second tab (Log On), and choose “Allow service to interact with desktop”, then click “OK” to save the change.

5) Restart SSHD

net stop sshd
net start sshd

Powered by WordPress