I just downloaded Cygwin for Windows 7. I want to install an OpenSSH SSH daemon, and after running "ssh-host-config", I tried starting the service by running
$net start sshd
System error 1069 has occurred.
The service did not start due to a logon failure.
I changed the password for user "sshd" to have upper/lower case letters and numbers. But I still get this error. Any help or additional troubleshooting advice is appreciated, - Dave
Go to Control Panel > System and Security > Administrative Tools and open Services. Locate OpenSSH SSH Server service. If you want the server to start automatically when your machine is started: Go to Action > Properties. In the Properties dialog, change Startup type to Automatic and confirm.
2. Use Windows PowerShell for SSH. If you want a Microsoft-built Windows command line SSH tool that is built into the operating system, you're in luck. Windows PowerShell has slowly been taking over from the Windows Command Prompt app since it was introduced in Windows 7.
I had the same issue. If you had previously tried to install openssh you need to remove it first.I followed this these two links for removing openssh:
http://pigtail.net/LRP/printsrv/vista-cygwin.txt
http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/
They are mostly the same although the first link is based on the second one and the second one has some extra information about installing privileges for users.
After that you can try to reinstall openssh it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With