Interface SshdSessionFactoryBuilder.ConfigStoreFactory

  • Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface SshdSessionFactoryBuilder.ConfigStoreFactory
    A factory interface for creating a SshConfigStore.
    • Method Detail

      • create

        SshConfigStore create​(@NonNull
                              File homeDir,
                              File configFile,
                              String localUserName)
        Creates a SshConfigStore. May return null if none is to be used.
        homeDir - to use for ~-replacements
        configFile - to use, may be null if none
        localUserName - name of the current user in the local OS
        the SshConfigStore, or null if none is to be used