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: Cygwin DLL 1.7.10-1 breaks sftp in lftp package


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@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@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
> 


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