Uses of Class
org.eclipse.jgit.transport.sshd.SshdSessionFactoryBuilder
Packages that use SshdSessionFactoryBuilder
-
Uses of SshdSessionFactoryBuilder in org.eclipse.jgit.transport.sshd
Methods in org.eclipse.jgit.transport.sshd that return SshdSessionFactoryBuilderModifier and TypeMethodDescriptionSshdSessionFactoryBuilder.setConfigFile
(Function<File, File> supplier) Sets a function that returns the SSH config file, given the SSH directory.SshdSessionFactoryBuilder.setConfigStoreFactory
(SshdSessionFactoryBuilder.ConfigStoreFactory factory) Sets a factory for theSshConfigStore
to use.SshdSessionFactoryBuilder.setConnectorFactory
(ConnectorFactory factory) Sets an explicitConnectorFactory
.SshdSessionFactoryBuilder.setDefaultIdentities
(Function<File, List<Path>> supplier) Sets a function that returns the default private key files, given the SSH directory.SshdSessionFactoryBuilder.setDefaultKeysProvider
(Function<File, Iterable<KeyPair>> provider) Sets a function that returns the default private keys, given the SSH directory.SshdSessionFactoryBuilder.setDefaultKnownHostsFiles
(Function<File, List<Path>> supplier) Sets a function that returns the default known hosts files, given the SSH directory.SshdSessionFactoryBuilder.setHomeDirectory
(File homeDirectory) Sets the home directory to use forSshdSessionFactories
created bybuild(KeyCache)
.SshdSessionFactoryBuilder.setKeyPasswordProvider
(Function<CredentialsProvider, KeyPasswordProvider> factory) Sets a factory function to create aKeyPasswordProvider
.SshdSessionFactoryBuilder.setPreferredAuthentications
(String authentications) Sets the default preferred authentication mechanisms to use forSshdSessionFactories
created bybuild(KeyCache)
.SshdSessionFactoryBuilder.setProxyDataFactory
(ProxyDataFactory proxyDataFactory) SshdSessionFactoryBuilder.setServerKeyDatabase
(BiFunction<File, File, ServerKeyDatabase> factory) Sets a function that creates a newServerKeyDatabase
, given the SSH and home directory.SshdSessionFactoryBuilder.setSshDirectory
(File sshDirectory) Sets the SSH directory to use forSshdSessionFactories
created bybuild(KeyCache)
.SshdSessionFactoryBuilder.withDefaultConnectorFactory()
Removes a previously setConnectorFactory
.