Your browser does not allow storing cookies. We recommend enabling them.


Enabling Transparent FTP Tunneling (Unix)

On Unix, the connection capture component performing the transparent FTP tunneling is installed from a separate installation package ssh-tectia-capture. For installation instructions, see Chapter 2.

The transparent FTP tunneling activation requires defining the filter rules for transparent FTP tunneling in the Connection Broker configuration file ssh-broker-config.xml and then running the ssh-capture command.

The following example shows the minimum settings required in the ssh-broker-config.xml file:

    <rule  ip-address=".*"
           fallback-to-plain="NO" />

With this configuration, all connections will be tunneled to the destination Secure Shell servers using transparent FTP tunneling. The host name and the user name received from the originating FTP application are used. Falling back to plaintext mode is not done, so if the secure connection fails, the connection is closed.

You can also use a connection profile to define the target Secure Shell server, and then refer to the profile in the filter rule settings, as in the following example:

  <profile name="paper"
    <rule  ports=".*"
           fallback-to-plain="NO" />

Notice that when the rule setting username-from-app="YES" is used, no specific user name must be defined in the connection profile settings (user=""). The user name received from the application overrides the user names given in the connection profile.

After the Connection Broker configuration enables transparent FTP tunneling, you can start a tunneled FTP session, for example to, by running the following command:

$ ssh-capture ftp

Tectia ConnectSecure has an option for falling back to plaintext FTP if the secure tunnel cannot be created. You can enable fallback to plaintext FTP in the configuration file with the rule setting fallback-to-plain="yes" and then by adding the option -F (alias for --fallback) to the command:

$ ssh-capture -F ftp

The -F option is effective if ssh-capture cannot connect to Connection Broker and the value of fallback-to-plain in the configuration file cannot be checked.

When allowing fallback to plaintext with setting fallback-to-plain="yes", always specify the port unambiguously in the configuration. Otherwise, the connection to a plaintext FTP server may fail in passive mode file transfer.

Want to see how PrivX can help your organisation?

Are you a DEVELOPER accessing cloud hosts, are you a IT ADMIN managing access & credentials in your corporation, are you BUSINESS MANAGER and want to save money or are you responsible of IT SECURITY in DevOps