Solved

Problems with ssh tunnel to ftp server

Posted on 2003-11-13
3
577 Views
Last Modified: 2008-02-01
Hello all I need some help with a possible packet corruption issue. I have been successfully tunneling vnc thru ssh(local forward). I have recently been trying to make a similar connection to ftp srv on same machine as the vnc srv. My client pc is w2k and the ftp/vnc srv are also w2k. sshd is on redhat 9. I have full funtionability from ftp srv when connecting directly. But when I tunnel I am able to get thru the login for ftp but when I try to get, put, dir, ls I get a error 500(syntax) error from srv. I have been sniffing the packets on the ftp srv int in an attempt to locate the problem but I am not sure what part of the packet I should focus my search. I have no idea what layer the breakdown is occuring. I have logged packets with etherdetect, from successful ftp connections from another local w2k box and from the linux box. I am comparing them to the unsuccessful packets from the tunnel. I am looking at the packet, corresponding between my three captures, that preceeds the error on the tunnel session. Does anyone know what I should look for and what I might do to correct. Please help. I fear it may be something simple I am overlooking. Any thoughts would be much appreciated.

Thanks

0
Comment
Question by:ewchartech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
rgeers earned 75 total points
ID: 9817427
Make shure you tunnel both port 20 and 21
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question