· To configure sshd in Windows 7, you must be an administrator. To do this you must run cygwin as an administrator. Find the shortcut to the cygwin terminal, right click it, and select Run as administrator. Of course, you will need administrator access. When you are given a bash prompt, type ssh-host-config -y. This will run a configuration script that will . · reinstalled the openssh package from the cygwin setup on my laptop. Since then, I have been getting a cygrunsrv error. So, the only way I can start the dameon is by manually calling "/usr/sbin/sshd." When I do so, this is the error message I get: #start# home$ cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: win32 error In the Computer Management dialog box that appears, go to Services and Applications, and select CYGWIN sshd. Right-click CYGWIN sshd and select Properties. In the Properties dialog box, go to the Log On tab. Here, specify the domain/user name and password. Click Apply. Run C:\cygwin\www.doorway.ru, and execute the following.
In the Computer Management dialog box that appears, go to Services and Applications, and select CYGWIN sshd. Right-click CYGWIN sshd and select Properties. In the Properties dialog box, go to the Log On tab. Here, specify the domain/user name and password. Click Apply. Change the permission of /etc/ssh_host_rsa_key. It is recommended that you do not allow private key files to be accessible by others. reinstalled the openssh package from the cygwin setup on my laptop. Since then, I have been getting a cygrunsrv error. So, the only way I can start the dameon is by manually calling "/usr/sbin/sshd." When I do so, this is the error message I get: #start# home$ cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: win32 error In the Computer Management dialog box that appears, go to Services and Applications, and select CYGWIN sshd. Right-click CYGWIN sshd and select Properties. In the Properties dialog box, go to the Log On tab. Here, specify the domain/user name and password. Click Apply. Run C:\cygwin\www.doorway.ru, and execute the following.
I removed the c:\cygwin directory to reinstall. I removed the sshd Administrator user by hand. I reinstalled the cygwin again, then run the 'ssh-host-config. I entered ssh-host-config into the cygwin prompt (started with admin privileges), said yes to privilege separation, new local account sshd, install sshd as. May In order to avoid having to manually start sshd you can do the following to have it start on boot. Set-Service -Name sshd -StartupType.
0コメント