Class AcceptFirstConnectionVerifier.AcceptFirstConnectionJGitHostKeyVerifier

    • Constructor Detail

    • Method Detail

      • askAboutKnowHostFile

        protected boolean askAboutKnowHostFile()
        Description copied from class: AbstractJGitHostKeyVerifier

        see OpenSshServerKeyDatabase if true the implementation of $CredentialsProvider will be search with a for CredentialItem.YesNoType and our implementation SmartCredentialsProvider never returns that

        used only here for the Accept first which always create a file without asking anything

        Overrides:
        askAboutKnowHostFile in class AbstractJGitHostKeyVerifier
        Returns:
        something in the range true or false, per default true to avoid automatic creation of know hosts file.