LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

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


Hi,
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 21:host.net:21 host.net

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
Trying 127.0.0.1...
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.
 
  


Reply


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 02:10 PM
ssh tunnel crep Linux - Networking 2 08-25-2004 08:24 PM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 03:30 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:18 PM.

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