To establish a connection simply invoke the SshSession#connect method.
Example
// establish a connection
session.connect();