You may create secure tunnels using the com.jscape.inet.ipclientssh.IpClientSsh class.
See also
IpClientSsh class overview