delorie.com/archives/browse.cgi | search |
James Dumser wrote: > > On Wed, 02 Aug 2000 19:40:35 +0200, Corinna Vinschen wrote: > > Has anybody of you tried to install sshd as service from LocalSystem > > account started via SRVANY.EXE instead of inetd? > > Would you mind posting some instructions (or a reference to > instructions) for getting it started via SRVANY? I'd be happy to try > this out, and was in fact a little put off by the comments on -i in the > sshd man page. SRVANY.EXE and INSTSRV.EXE are tools from the NT resource kit. Assuming your SRVANY.EXE is in D:/usr/local/bin and your sshd is in D:/usr/local/sbin: On the commandline call: instsrv sshd D:\\usr\\local\\bin\\SRVANY.EXE Output: The service was successfully installed, blahblah... Then call RegEdit. You will find a Registry Key: HKLM\SYSTEM\CurrentControlSet\Services\sshd Under that key create a new Subkey named "Parameters" Under "Parameters" create a new string (REG_SZ type) named "Application". Open the string "Application" and insert the value: D:\usr\local\sbin\sshd.exe Leave RegEdit. Start sshd from the command line by calling: net start sshd Stop sshd (this is the complex part) by calling: net stop sshd kill -9 <sshd_pid> Hope, that helps, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |