Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 1 Apr 2001 14:50:16 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh/sshd command line missing response Message-ID: <20010401145016.B17860@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cygwin-user@ied.com on Sun, Apr 01, 2001 at 01:20:01AM -0500 Important question: Can somebody using 9x/ME reproduce that behaviour??? Corinna On Sun, Apr 01, 2001 at 01:20:01AM -0500, Jan Vicherek wrote: > > Yup, same behavior here ... see below for `cygcheck -s` > > Jan > > > On Sat, 31 Mar 2001, Karl M wrote: > > > Hi All... > > > > Can anyone else reproduce this problem on a Win2k box? > > > > Thanks, > > > > ...Karl > > > > > > >From: "Karl M" > > >To: cygwin AT cygwin DOT com > > >Subject: ssh/sshd command line missing response > > >Date: Fri, 30 Mar 2001 06:24:23 -0800 > > > > > >Hi All... > > > > > >Can someone please help me. I am having trouble with ssh command-line > > >operation; interactive use is fine. This may be a newbie question, but I'm > > >stuck. > > > > > >I am using the latest complete CygWin binaries on a Win2k box. I actually > > >have the same issue on several Win2k boxes. I am running sshd as a service > > >with SrvAny, running as LocalSystem. I have the 20010325 cygwin1.dll file > > >to > > >prevent crashes when changing user-id in ssh/sshd. > > >I have no explicit settings for CYGWIN or TERM or any other special > > >environment variables, I just have the CygWin stuff on the front of my > > >PATH. > > > > > >My desire is to use Unison with this ssh/sshd combination. When I tried it, > > >I got a "broken pipe" error message, so I started tracking it down. What I > > >found is this. > > > > > >When I have a /bin/bash shell in my passwd file, if I type > > > > > >ssh localhost 'echo test' > > > > > >and answer the password question I get no response, the command just > > >completes. If I do this same command in an interactive ssh session, it > > >works > > >fine. If I change my passwd file to select /bin/sh shell and reboot (just > > >to > > >make sure the server knows about the change) then > > > > > >ssh localhost 'echo test' > > > > > >works and I see test in my console (after I type the password). Do I have a > > >setup problem here? How do I correct this with /bin/bash? > > > > > >Now even with the above command working with /bin/sh, the command > > > > > >ssh localhost '/cygdrive/progra~1/unison/unison -version' > > > > > >does not work. It should display the version number and exit. But again, it > > >works if I use it interactively instead of in command line mode. It also > > >works fine if I type > > > > > >ssh localhost -t '/cygdrive/progra~1/unison/unison -version' > > > > > >I've read the FAQ and User Guide and searched a lot of e'mail but I'm stuck > > >at this point. Is this a setup problem on my part? > > > > > >Thanks, > > > > > >...Karl > > -- > -- Gospel of Jesus is the saving power of God for all who believe -- > ## To some, nothing is impossible. ## > http://Honza.Vicherek.com/ > > > > $ cygcheck -s > > Cygnus Win95/NT Configuration Diagnostics > Current System Time: Sun Apr 1 01:12:59 2001 > > WinNT Ver 5.0 build 2195 > > Path: /cygdrive/c/msvs6/common/msdev98/BIN:/cygdrive/c/msvs6/VC98/BIN:/cygdrive/c/msvs6/common/TOOLS/WINNT:/cygdrive/c/msvs6/common/TOOLS:/cygdrive/c/msvs6/common/msdev98/BIN:/BIN:/cygdrive/c/msvs6/common/TOOLS/WINNT:/cygdrive/c/msvs6/common/TOOLS:/cygdrive/c/iona/o2k12/bin:/cygdrive/c/iona/o2k12/orbix_art/1.2/bin:C:\msvs6\common\msdev98\BIN > C:\msvs6\VC98\BIN > C:\msvs6\common\TOOLS$VcOsDir > C:\msvs6\common\TOOLS > > /cygdrive/c/iona/o2k12/bin:/cygdrive/c/iona/o2k12/orbix_art/1.2/bin:/cygdrive/c/iona/o2k12/bin:/cygdrive/cygdrive/c/iona/o2k12/bin:/cygdrive/cygdrive/c/iona/o2k12/bin:/cygdrive/c/iona/o2k12/bin:/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/vim/vim57 > > SysDir: C:\WINNT\System32 > WinDir: C:\WINNT > > PWD = `/c/temp/ots/bank/cxx_server' > CYGWIN = `ntsec' > USER = `administrator' > MAKE_MODE = `unix' > HOME = `/home/administrator' > > Use `-r' to scan registry > > a: fd N/A N/A > c: hd FAT32 4089Mb 43% CP UN > d: hd FAT32 3912Mb 44% CP UN > e: cd N/A N/A > cygcheck: dump_sysinfo: GetVolumeInformation() failed: 86 > w: net N/A N/A > > C:\cygwin\bin /usr/bin system binmode > C:\cygwin\lib /usr/lib system binmode > C:\cygwin / system binmode > > Found: C:\cygwin\BIN\bash.exe > Found: C:\cygwin\BIN\cat.exe > Found: C:\cygwin\BIN\cpp.exe > Found: C:\cygwin\BIN\find.exe > Found: C:\cygwin\BIN\gcc.exe > Found: C:\cygwin\BIN\gdb.exe > Found: C:\cygwin\BIN\ld.exe > Found: C:\cygwin\BIN\ls.exe > Found: C:\cygwin\BIN\make.exe > Found: C:\cygwin\BIN\sh.exe > > 56k 2000/12/03 C:\cygwin\BIN\cygbz21.0.dll > 41k 2000/11/20 C:\cygwin\BIN\cygXpm-noX4.dll > 45k 2000/11/20 C:\cygwin\BIN\cygXpm-X4.dll > 18k 2000/10/23 C:\cygwin\BIN\cyggdbm.dll > 14k 2000/10/23 C:\cygwin\BIN\cygintl.dll > 45k 2000/10/22 C:\cygwin\BIN\cygjbig1.dll > 119k 2000/10/23 C:\cygwin\BIN\cygjpeg6b.dll > 163k 2001/02/03 C:\cygwin\BIN\cygpng2.dll > 82k 2001/01/21 C:\cygwin\BIN\cygform5.dll > 53k 2001/01/21 C:\cygwin\BIN\cygmenu5.dll > 414k 2001/01/21 C:\cygwin\BIN\cygncurses++5.dll > 299k 2001/01/21 C:\cygwin\BIN\cygncurses5.dll > 34k 2001/01/21 C:\cygwin\BIN\cygpanel5.dll > 17k 2001/01/07 C:\cygwin\BIN\cyghistory4.dll > 108k 2001/01/07 C:\cygwin\BIN\cygreadline4.dll > 81k 2000/12/05 C:\cygwin\BIN\cygitcl30.dll > 35k 2000/12/05 C:\cygwin\BIN\cygitk30.dll > 390k 2000/12/05 C:\cygwin\BIN\cygtcl80.dll > 5k 2000/12/05 C:\cygwin\BIN\cygtclpip80.dll > 10k 2000/12/05 C:\cygwin\BIN\cygtclreg80.dll > 623k 2000/12/05 C:\cygwin\BIN\cygtk80.dll > 243k 2000/10/23 C:\cygwin\BIN\cygtiff3.dll > 49k 2001/02/03 C:\cygwin\BIN\cygz.dll > 615k 2001/01/31 C:\cygwin\BIN\cygwin1.dll > Cygwin DLL version info: > dll major: 1001 > dll minor: 8 > dll epoch: 19 > dll bad signal mask: 19005 > dll old termios: 5 > dll malloc env: 28 > api major: 0 > api minor: 34 > shared data: 3 > dll identifier: cygwin1 > mount registry: 2 > cygnus registry name: Cygnus Solutions > cygwin registry name: Cygwin > program options name: Program Options > cygwin mount registry name: mounts v2 > cygdrive flags: cygdrive flags > cygdrive prefix: cygdrive prefix > cygdrive default prefix: > build date: Wed Jan 31 10:08:38 EST 2001 > shared id: cygwin1S3 > > 446k 2001/03/21 c:\iona\o2k12\orbix_art\1.2\bin\cygwin1.dll > Cygwin DLL version info: > dll major: 20 > dll minor: 1 > dll epoch: 19 > dll bad signal mask: 19005 > api major: 0 > api minor: 3 > shared data: 1 > dll identifier: cygwin > mount registry: 1 > cygnus registry name: Cygnus Solutions > cygwin registry name: CYGWIN.DLL setup > program options name: Program Options > cygwin mount registry name: b15.0 > build date: Thu Dec 3 20:39:18 PST 1998 > CVS taggnu-win32-b20-branch: > shared id: cygwinS1 > > Use -h to see help about each section > > > > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple