delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/24/23:46:19

X-Spam-Check-By: sourceware.org
Date: Sat, 24 Dec 2005 23:45:30 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: ssh localhost date #fails for me on two boxes
In-Reply-To: <200512241816.jBOIGULc023975@tigris.pounder.sol.net>
Message-ID: <Pine.GSO.4.63.0512241947350.1926@slinky.cs.nyu.edu>
References: <200512231711 DOT jBNHBvBl016124 AT tigris DOT pounder DOT sol DOT net> <200512241816 DOT jBOIGULc023975 AT tigris DOT pounder DOT sol DOT net>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sat, 24 Dec 2005, Tom Rodman wrote:

> Problem:  'ssh localhost date' asks for password, I type it, I'm
>           authenticated, but no output is seen from the date command
>           (original post has details)
>
> Corrina, and cgf wrote WJFFM:
>   http://cygwin.com/ml/cygwin/2005-12/msg00801.html
>
> So what is special about my setup? What additional information should
> I supply? Are there any debugging approaches you can suggest? Could I
> somehow run strace, if so please give me the exact command line(s).

As an adaptation of your own command:

> At home I disabled sshd, and installed a test version using:
>
>   cygrunsrv -I sshd_test -p /usr/sbin/sshd.exe -a '-ddd' -e CYGWIN="$CYGWIN"
>   # CYGWIN is set to 'binmode tty ntsec smbntsec'

Try:

  cygrunsrv -I sshd_test -p /usr/bin/strace.exe -a '-o /var/tmp/sshd_strace /usr/sbin/sshd.exe -ddd' -e CYGWIN="$CYGWIN"

Won't help you much, though, as sshd seems to hog all the CPU when run
under strace...

> [snip]
> Maybe I'll get lucky, and someone other than me, w/developer skills
> will duplicate the problem, just try:
>
>   ssh localhost date  #pls use a snapshot after Dec 16

Don't know what's special about your setup, but I was able to reproduce
this on my laptop with a 12/22 self-built DLL -- I'll see what I can do to
debug this (no promises, though)...
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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