This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh localhost date #fails for me on two boxes

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:
> 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'


  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)...
      |\      _,,,---,,_ |
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]