Another way around this is to pipe the sshd.exe to a cmd.exe in your regkey
setting for srvany. This way you can use cmd.exe or bash/sh etc as your
shell in your passwd file with out problems.
Thus
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSHD\Parameters\Application=%pathToSSHD.exe%\sshd.exe
-f %pathToSSHD_config% | c:\winnt\system32\cmd.exe
Note: I included the -f flag just incase someone out there is like me and
wants to locate things in weird places.
Bret
At 01:26 PM 4/19/2001 +0200, Lapo Luchini wrote:
> > > Configured package files, host key, etc. ssh client works
> great. sshd from various
> > > hosts exiphits the same problem. SSH Daemon allows connection and
> authentication.
> > > Some commands like cd and pwd work, other such as ls cause a stack
> dump to the remote
> > > screen.
> > Seems to be a problem in 1.1.8. The problem should be solved in
> > the developers versions.
> >
>I have the same problem and I have found the following things:
>using cmd.exe as a shell gives no problems, even if it's ugly (repeat
>every line after return is pressed)
>using bash the exception is raiser, but only loading other cygwin exes,
>loading windows exes gives no problem
>
>so there is a little workaround to "use" sshd under windows right now:
>instead of "ls" use "cmd /c ls", it works...
>you can even use "cmd /c bash" and get a working shell, but again you
>have the problem of repeated lines
>
>I hope you solve it soon ^_^
>
>--
>Lapo 'Raist' Luchini
>[EMAIL PROTECTED] (PGP & X.509 keys available)
>http://www.lapo.it (ICQ UIN: 529796)
>
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan Dean's Office
LAN Manager College of Engineering
801.585.3765 University of Utah
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple