ssh tunnel can be setup using something like:
Code:
ssh -L localhost:<local_port>:<ftp_server>:<ftp_port> ssh_usernanme@ssh_host
Code:
ssh -L localhost:2100:ftp.example.com:21 rizwan@ssh.example.com
Connect to ftp server using:
That's how you setup and use ssh tunnel. You'll have to dig up a bit to use data and control ports over tunnel.