delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,TW_RW,TW_WX,TW_XR |
X-Spam-Check-By: | sourceware.org |
X-SpamScore: | -22 |
X-BigFish: | VS-22(z21eNzc89bh1432N98dK14ffOzz1202hzz8275bhz2dh2a8h668h839h93fh) |
X-Forefront-Antispam-Report: | CIP:38.101.178.195;KIP:(null);UIP:(null);IPV:NLI;H:ohpnyhub01.ohpny.com;RD:host195.oakhilladmin.com;EFVD:NLI |
From: | "Ferguson, Michael" <mcferguson AT oakhilladvisors DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Date: | Fri, 24 Feb 2012 11:32:06 -0500 |
Subject: | RE: Cygwin DLL 1.7.10-1 breaks sftp in lftp package |
Message-ID: | <411197900642584A991A2BCA3208C36F02492250B937@OHPCACMS01.ohpny.com> |
References: | <411197900642584A991A2BCA3208C36F02492250B8E1 AT OHPCACMS01 DOT ohpny DOT com> <20120224114528 DOT GD17797 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20120224114528.GD17797@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-OriginatorOrg: | oakhilladvisors.com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id q1OGWXKM010411 |
Grüß Gott Corinna -- Thanks. I updated our development environment to the latest stable release via setup.exe, then I installed the snapshot "cygwin-inst-20120220.tar.bz2" per the instructions at http://cygwin.com/faq-nochunks.html#faq.setup.snapshots . After that, I was able to use lftp to connect via SFTP without any issues. I am a little wary of installing a development snapshot in production, though. When will the fixes in the snapshot will be rolled to production? Best, Michael > 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 >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |