Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-27-2003, 01:30 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
Unhappy Can't connect to vsFTPd through ssh tunnel

Try as I might I cannot connect to the ftp port on my remote server (running RH8 and vsFTPd) through a ssh tunnel. I can ftp to the server if I just ftp directly to the sever but thats not acceptable for security reasons I've created the tunnel correctly:

ssh -l user -f -N -L

And doubled checked by making a different ftp tunnel to a server here at work and ftping through the tunnel to that server worked. I also made a tunnel to my server's port 22 (ssh) and telnetted to it and it connected. But if I try to ftp to 'localhost' I get this message:

Trying ::1...
ftp: connect to address ::1: Connection refused
Connected to localhost.

And then it times out. I also get this in my messages.log:

vsftpd: warning: can't get client address: Bad file descriptor

But it doesn't happen every time my login fails so it may not have anything to do with it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Tunnel - need some help on this MeridianRebel Linux - Networking 2 08-11-2005 03:10 PM
ssh tunnel crep Linux - Networking 2 08-25-2004 09:24 PM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 04:30 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 08:52 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 04:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration