delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/15:23:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.0.20010419114229.00b176f0@imap.coe.utah.edu>
X-Sender: jordan AT imap DOT coe DOT utah DOT edu
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 19 Apr 2001 11:45:41 -0600
To: Lapo Luchini <lapo AT lapo DOT it>, cygwin AT cygwin DOT com
From: Bret Jordan <jordan AT coe DOT utah DOT edu>
Subject: Re: SSHD Fails with Exception: Can anybody help?
In-Reply-To: <3ADECB4B.26231525@lapo.it>
Mime-Version: 1.0

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
>lapo AT lapo DOT it (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
              jordan AT coe DOT utah DOT edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019