Connect the client to the server using default connection properties.
This call attempts to connect to the hostname specified on the standard SSH port of 22 and uses all the default connection properties. This call is the equivilent of calling:
@param hostname The hostname of the server to connect @exception IOException If an IO error occurs during the connectoperation @see #connect(com.sshtools.j2ssh.configuration.SshConnectionProperties) @since 0.2.0SshConnectionProperties properties = new SshConnectionProperties(); properties.setHostname("hostname"); ssh.connect(properties);
|
|