You may establish a secure connection using the IpClientSsh and com.jscape.inet.ssh.util.SshParameters classes. The IpClientSsh class is a subclass of the com.jscape.inet.ipclient.IpClient class making all methods in this class available for use. The SshParameters class will contain all information needed to connect and authenticate with your SSH server for use in creating a secure tunnel.
Example The example below demonstrates establishing a secure tunnel to the POP (Post Office Protocol) service running on the host myhost.com. This is an example only as it does not provide information on authenticating with the POP server or retrieving email.