Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

tunneling ftp

  • 07-01-2007 4:57pm
    #1
    Closed Accounts Posts: 119 ✭✭


    Hi,
    I have an account on a unix box, which I can SSH to from inside a firewalled network. From there, I can FTP into a web server.
    However, the command line interface isn't practical for uploading folders, and 100s of files.
    So, I figure I need to tunnel some things through this server.

    How would I go about doing this?
    Would something like this work?
    ssh -t -L 8888:ftp.ftpserverdomain.ie:21 username@mysshserver.com

    How would I connect my ftp client then?

    localhost:8888 ?

    Im running XP, and any help is greatly appreciated.

    thanks!


Comments

  • Registered Users, Registered Users 2 Posts: 1,065 ✭✭✭Snowbat


    Install and start Putty on the XP machine (if you have not already done so)
    Go to SSH/Tunnels
    In the Add New Forwarded Port, add a sorce port such as 4444
    In the Add New Forwarded Port, add the destination ftp.ftpserverdomain.ie:21
    Go back to Session and open the SSH connection

    You can now point your ftp client at localhost:4444 and the connection will be made via the tunnel. In IE you could use
    ftp://user:password@localhost:4444/
    

    Note: The above works for Passive FTP connections - if using an FTP client you may need to set your connection options to Passive.


Advertisement