[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh forwarding and ftp



Okay, so I've always wanted to do this, but been too lazy.  I've been
trying to set up a port-forwarded ftp session all friggin' night, and
while it works, it doesn't work.  Here's an example session:

koree@euclid:~ > ssh -L 6021:ameth.org:21 -l koree ameth.org
koree@ameth.org's password:
Last login: Fri Apr  5 18:56:41 2002 from dns.scrivner.com

etc...I know I could put that in the background, etc, but I'm not worried
about that right now.  So, I open up another term to euclid and ftp to
localhost, port 6021:

koree@euclid:~ > ftp localhost 6021
Connected to localhost.
220 ProFTPD 1.2.4 Server (ameth.org) [ameth.org]
Name (localhost:koree): koree
331 Password required for koree.
Password:
230 User koree logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

Woohoo!! I'm in!!

Next, I check passive mode:

ftp> passive
Passive mode on.

Yeehaw!!  It's on

Next, I do an ls:

ftp> ls
227 Entering Passive Mode (206,152,121,49,8,98).

And it hangs....and hangs......and hangs......it's still hanging right
now.

So, I stop it and turn passive mode off:

ftp> passive
Passive mode off.
ftp> ls
500 Illegal PORT command.
ftp: bind: Address already in use

This is the point where I turn to whiskey...

Anyone have *any* idea what I need to do here?  What I'm missing?

Koree
____________________________________
Koree A. Smith  | Ameth Technologies
koree@koree.net | koree@ameth.org
     http://www.koree.net/

"With my feet upon the ground I move myself
between the sounds and open wide to suck it in,
I feel it move across my skin.
I'm reaching up and reaching out,
I'm reaching for the random or what ever will bewilder me.
And following our will and wind we may just go where no one's been.
We'll ride the spiral to the end and may just go where no one's been."


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.