Class AcceptFirstConnectionStrategy

All Implemented Interfaces:
ExtensionPoint, Describable<SshHostKeyVerificationStrategy<AcceptFirstConnectionVerifier>>

public class AcceptFirstConnectionStrategy extends SshHostKeyVerificationStrategy<AcceptFirstConnectionVerifier>
Accept known hosts strategy for the host key verification strategy extension point.

Remembers the first host key encountered for each git server and requires that the same host key must be used for later access. This is usually the most convenient setting for administrators while still providing ssh host key verification

  • Constructor Details

    • AcceptFirstConnectionStrategy

      @DataBoundConstructor public AcceptFirstConnectionStrategy()
      Creates a secure shell host key verification strategy that accepts known hosts on first connection. Remembers the first host key encountered for each git server and requires that the same host key must be used for later access.
  • Method Details