I got sshd working on Cygwin under Windows 2000 after searching the
mailing list archives for various problems. Here is what I discovered:
- Install Cygwin for all users. I installed it just for my user. This
meant the mount table wasn't available for the system
user. Installing cygwin again fixed the problem.
- The trick of running a shell with the "at" command to try things
manually as the SYSTEM user really helped. BTW, it is possible to
use bash instead of cmd.
- Use "mkgroup -l" instead of "mkpasswd -l" to build the /etc/group
file. Sounds dumb but whenever I did the manual generation I screwed
it up. Check that the home directory is pointing to the right
place. I have my home directory as e:/cygwin/home.
- Once the sshd service is running, it is possible to log the output
from the daemon. This helps for fixing ssh problems. Install the
service like this:
cygrunsrv -I sshd -p /usr/sbin/sshd -a "-D -e" -2 /var/log/sshd.log
- Ian
-- iburrell@stanfordalumni.org http://www.znark.com/ -- List Information: http://tech.erdelynet.com/maillist-ssh-l.asp List Archives: http://erdelynet.com/archive/ssh-l/Received on Mon Mar 25 20:59:27 2002
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:33 EDT