Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20011109143549.00b3b6b0@mail.biapo.com> X-Sender: biapo7 AT mail DOT biapo DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 09 Nov 2001 14:37:54 -0500 To: cygwin From: rotaiv Subject: ncftp via ssh tunnel Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed (I haven't seen this message or any replies come through so I apologize if this is a duplicate) I am trying to use ncftp to tunnel through an SSH session with no luck. This is what I am doing: $ ssh -L 21:ftpserver:21 -l user -N ftpserver $ ncftp -u user localhost ncftp > set passive on ncftp > dir The ncftp session connects, enters passive mode but hangs when I do a directory listing. When I look at the logs on the ftpserver, it shows the client entering passive mode then nothing else. Eventually, I will get a "Data connection timed out" error with ncftp. CuteFTP in passive mode works just fine and will connect to the remote FTP server using localhost and the ssh tunnel. If I try it on a Linux box, the ncftp client also connects but gives me a "connect failed: Invalid argument" when I try to do a directory listing. Obviously, I am missing something hear so any help would be appreciated. In case it is important, the ftp server is "Serv-U 3.0" running on NT 4 SP 6a. Regards, rotaiv -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/