SshSessionImpl.create

SshSessionImpl create(SshTransport transport, SshAlgorithmPreferences preferences = SshAlgorithmPreferences .recommended()) static

Creates a session over a transport.

Parameters

transportOrdered byte transport.
preferencesAlgorithm preferences.

Returns

A new session in the CREATED state.