SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server (M) >>
    Using SSH Tectia Server (M) >>
    Troubleshooting SSH Tectia Server (M) >>
    Configuration >>
    Authentication >>
    Application Tunneling >>
        Incoming and Outgoing Tunnels >>
        Tunneling FTP
            Tunneling FTP in Passive Mode
            Tunneling FTP in Active Mode
        Tunneling X11
        Dynamic Tunneling
    Sample Files >>
    Man Pages
    Log Messages >>

Tunneling FTP

With SSH Tectia Server and Client, it is possible to easily forward FTP connections by using a command with the following syntax:

$ ssh2 -L ftp/x:ftpdserver:y username@sshdserver

When using SSH Tectia Client on Windows, FTP tunneling can be set under Profile Settings -> Tunneling.

FTP tunneling is an extension to the generic tunneling mechanism. The FTP control channel can be secured by using generic port forwarding, but since the FTP protocol requires creating separate TCP connections for the files to be transferred, all the files would be transferred unencrypted when using generic port forwarding, as these separate TCP connections would not be forwarded automatically.

To protect also the transferred files, use FTP forwarding instead. It works similarly to generic port forwarding, except that the FTP forwarding code monitors the forwarded FTP control channel and dynamically creates new port forwardings for the data channels as they are requested. To see exactly how this is done, two different cases need to be examined: the active mode and the passive mode of the FTP protocol.

Tunneling FTP in Passive Mode

Tunneling FTP in Active Mode

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2005 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice