Re: Can't get ssh and wu-ftpd to work together

From: Richard E. Silverman (res_at_qoxp.net)
Date: 12/27/03


Date: 27 Dec 2003 09:25:17 -0500


>>>>> "RB" == Richard Brandt <richard1.brandt@attbi.com> writes:

    RB> I am trying to follow the example in the "SSH-The Secure Shell"
    RB> book for tunneling the control channel thru ssh...
    RB> This works fine client% ftp -vd localhost 2001 This also works
    RB> fine (login has no problems) but when I try to do any commands
    RB> like "ls" it fails with

    RB> ftp:setsockopt (ignored ): permission denied
    ---> PASV
    RB> Entering passive mode(192,168,1,50,232,45) ftp:connect: Connection
    RB> refused

Yes -- you have tunnelled the control channel. Doing an "ls" tries to
constuct a data channel, which fails, as described in great detail in the
book chapter you're referring to.

-- 
  Richard Silverman
  res@qoxp.net