Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 23 Aug 2004 11:55:54 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Andrew Louder cc: cygwin AT cygwin DOT com Subject: Re: Latest ssh can not be spawned from expect. In-Reply-To: <20040823144051.22937.qmail@web41206.mail.yahoo.com> Message-ID: References: <20040823144051 DOT 22937 DOT qmail AT web41206 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Mon, 23 Aug 2004, Andrew Louder wrote: > To whom it may concern: > > My script works on a older cygwin software: > expect == 5.26 ^^^^ > ssh == OpenSSH_3.6.1p2 > > My script fails on a current cygwin software: > expect == 5.26 ^^^^ > ssh == OpenSSH_3.8.1p1 > The symptons show that expect can not recognize the ssh output, so I > will be prompted over and over again for the password. > > Also note, if I ssh from the older installation to the current > installation, then my script works again. It appears the problem lives > is term compatibility. > > Andy > PS. Here is my script and example successfull execution: > $ cat t.exp > #!/usr/local.bin/expect -f ^^^^^^^^^^^^^^^^^^^^^ > [snip] Andy, DISCLAIMER: I know nothing about expect, I don't use it, I don't even have it installed. However, even without having used expect, the underlined lines above look suspicious. According to , the latest version of the expect package for Cygwin is 20030128-1, *not* 5.26. Also, according to the package listing of expect-20030128-1, the "expect" program resides in /usr/bin, *not* /usr/local.bin... Looks like you're not using Cygwin's expect, and so your question is off-topic for this list. On the off chance that you *are* using the Cygwin expect package, and just aren't reporting the versions and paths correctly, please review > Problem reports: http://cygwin.com/problems.html and follow the guidelines, especially the bit about attaching the output of "cygcheck -svr". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/