ssh localhost date #fails for me on two boxes

Igor Peshansky pechtcha@cs.nyu.edu
Sun Dec 25 11:22:00 GMT 2005


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@cs.nyu.edu | igor@watson.ibm.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/



More information about the Cygwin mailing list