SSH tunneling provides secure FTP command connections. This mechanism is based on an existing SSH port-forwarding configuration. You must configure SSH port forwarding on the SSH listen host before you configure the supporting adapter connection.
For example, on the Java CAPS client host localhost, you can issue a command, such as:
ssh -L 4567:apple:21 -o BatchMode=yes apple |
Under the adapter’s configuration for the previous example, you must specify:
localhost for the Environment parameter SSH Listen Host
4567 for the Environment parameter SSH Listen Port
In this case, the adapter connects to the FTP server apple:21 through an SSH tunnel. For more information on SSH tunneling, see SSH Tunneling Support.
It is possible to use SOCKS and SSH tunneling at the same time. However, this practice is not recommended.