* ncftp via ssh tunnel
@ 2001-11-09 11:36 rotaiv
0 siblings, 0 replies; 2+ messages in thread
From: rotaiv @ 2001-11-09 11:36 UTC (permalink / raw)
To: cygwin
(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:
<bash session 1>
$ ssh -L 21:ftpserver:21 -l user -N ftpserver
<bash session 2>
$ 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* ncftp via ssh tunnel
2001-11-07 8:59 ` Corinna Vinschen
@ 2001-11-07 12:28 ` rotaiv
0 siblings, 0 replies; 2+ messages in thread
From: rotaiv @ 2001-11-07 12:28 UTC (permalink / raw)
To: cygwin
I am trying to use ncftp to tunnel through an SSH session with no
luck. This is what I am doing:
<bash session 1>
$ ssh -L 21:ftpserver:21 -l user -N ftpserver
<bash session 2>
$ 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-09 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-09 11:36 ncftp via ssh tunnel rotaiv
-- strict thread matches above, loose matches on Subject: below --
2001-11-07 8:52 Inhibit password Rhomer L Oliveira Jr
2001-11-07 8:59 ` Corinna Vinschen
2001-11-07 12:28 ` ncftp via ssh tunnel rotaiv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).