X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 24 Feb 2012 12:45:28 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin DLL 1.7.10-1 breaks sftp in lftp package Message-ID: <20120224114528.GD17797@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <411197900642584A991A2BCA3208C36F02492250B8E1 AT OHPCACMS01 DOT ohpny DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <411197900642584A991A2BCA3208C36F02492250B8E1@OHPCACMS01.ohpny.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Feb 23 13:30, Ferguson, Michael wrote: > Hi all -- > > A change (probably one of the TTY changes) in Cygwin DLL 1.7.10-1 > broke sftp support in the lftp file transfer package. When using > 1.7.10-1, ssh complains "read_passphrase: can't open /dev/tty: No such > device or address" when lftp tries to use this program to connect. > LFTP seems to give up, assuming that the password was incorrect. I've > tried modifying the permissions for the fictional /dev/tty device, but > everything there seems fine. Downgrading from 1.7.10-1 to 1.7.9-1 has > fixed the issue for me, so it is definitely some combination of the > new 1.7.10-1 DLL and lftp/ssh. Please see the log detail below from an > SFTP session in lftp (set to verbose output in ssh and high debug in > lftp). > > I believe this may be similar to the sshpass issue described in > http://cygwin.com/ml/cygwin/2012-02/msg00520.html . Any ideas on if > this is a Cygwin bug or if there is some change that should be applied > upstream in lftp? Suggestions appreciated. I just tried this with a private key with passphrase. It worked. lftp :~> set sftp:connect-program "/usr/bin/ssh -a -x -v" lftp :~> open -p 22 -u corinna sftp://linux-box lftp :~> notice: cannot open /home/corinna/.netrc: No such file or directory lftp :~> Password: [MY-PASSPHRASE] lftp corinna AT linux-box:~> ls drwxrwxr-x 10 corinna vinschen 4096 Feb 24 11:36 . drwxr-xr-x 103 corinna vinschen 4096 Feb 24 11:28 .. [...] lftp corinna AT linux-box:~> quit Did you try if this works with the latest Cygwin snapshot from http://cygwin.com/snapshots/ ? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple