sshd vs. lftp

Mark Blackburn marklist@fangorn.ca
Fri Mar 5 20:19:00 GMT 2004


Chris Herborth wrote:

> I've noticed some odd behaviour with the current sshd and lftp; 
> "everything" is current (OpenSSH 3.8p1-1, lftp 2.6.10-2) and "working" 
> (ssh and sftp work fine, lftp to other sites works fine).
>
> When I lftp to this box, tab completion doesn't work, and the "mirror" 
> command downloads the specified directory, but none of its contents:

I tried to replicate but I didn't see the same problems. I'm using lftp 
fish://mark@localhost though since I don't have acces to another machine 
running cygwin.

>
> chris@chrish [531]: pwd
> /tmp
> chris@chrish [532]: lc
> mirror/  test-lftp/
> chris@chrish [533]: find test-lftp -print
> test-lftp
> test-lftp/file1
> test-lftp/file2
> test-lftp/file3
> chris@chrish [534]: cd mirror
> /tmp/mirror
> chris@chrish [535]: !lftp
> lftp -u chris fish://localhost/tmp/
> Password:
> lftp chris@localhost:/tmp> mirror -v test-lftp
> Total: 1 directory, 0 files, 0 symlinks
>
> Using lftp 2.6.12 under Mac OS X exhibits the same problems; works 
> fine with the other sites I tested, but not the box running cygwin's 
> sshd.
>
> sshd is started from inetd, which is running as a service.  CYGWIN is 
> set to "ntea ntsec tty" for the service.
>
> My home system is running cygwin's open ssh 3.7.1p2-2 and it appears 
> to work properly with the current cygwin lftp and my Mac OS X build.

mark@althor ~
$ /usr/sbin/sshd -h
sshd: option requires an argument -- h
sshd version OpenSSH_3.8p1, OpenSSL 0.9.7c 30 Sep 2003
[...]

mark@althor ~
$ lftp --version
Lftp | Version 2.6.10 | Copyright (c) 1996-2002 Alexander V. Lukyanov
This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details.
Send bug reports and questions to <lftp@uniyar.ac.ru>.

mark@althor ~
$ uname -a
CYGWIN_NT-5.0 althor 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown 
unknown Cygwin

$ echo $CYGWIN
binmode ntsec tty

sshd is running through cygrunsrv. I'm not using inetd.

My "althor" box is at home and I won't be able to mess with the setup 
there until Monday to do further testing. Sorry.
Maybe you could try "fishing" at localhost on your cygwin box (i.e. lftp 
fish://you@localhost)

Mark Blackburn, lftp cygwin port maintainer.

>
> I wasn't able to find anything about this in the online docs, FAQ, or 
> mailing list archives... any clues?
>



More information about the Cygwin-apps mailing list