OpenSSH under Windows 7
From Biowikifarm Metawiki
Note: The Win 7 VM machine is used for managing the Xen host and VMs, especially for backup, using XenCenter. OpenSSH: After initial download and installation, one must (see OpenSSH/docs/quickstart.txt):
cd c:\Program Files\OpenSSH\bin mkgroup -l >> ..\etc\group mkpasswd -d -u winUsername >> ..\etc\passwd # NOTE: Ommitting the username switch adds ALL users from the machine or domain, including service accounts and the Guest account.
However, to start the OpenSSH server, you must open the CMD window as Administrator, else "System error 5 has occurred". So, Cmd as Admin (right-mouse-click):
c:\Program Files\OpenSSH\bin>net start opensshd
However, the result is:
The OpenSSH Server service is starting. The OpenSSH Server service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534.
Some not-so-helpful links:
- http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/ - bit strange
- http://stackoverflow.com/questions/7041857/trouble-setting-up-openssh-server-on-windows-7-cant-start-sshd
- http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/
No luck here yet.