SshSessionImpl.authenticatePublicKey

SshAuthOperation authenticatePublicKey(SshSigner signer)

Starts (or resumes) public-key authentication with an application-owned signer. While an attempt is pending the same operation is returned; protocol requests are never duplicated.

Parameters

signerSigner wrapping an in-memory key or an agent.

Returns

The authentication operation, driven by session pumping.