Class ServerBuilder

    • Field Detail

      • DEFAULT_CHANNEL_FACTORIES

        public static final java.util.List<ChannelFactory> DEFAULT_CHANNEL_FACTORIES
      • DEFAULT_PUBLIC_KEY_AUTHENTICATOR

        public static final PublickeyAuthenticator DEFAULT_PUBLIC_KEY_AUTHENTICATOR
      • DEFAULT_COMPRESSION_FACTORIES

        public static final java.util.List<CompressionFactory> DEFAULT_COMPRESSION_FACTORIES
      • DEFAULT_KEX_EXTENSION_HANDLER

        public static final KexExtensionHandler DEFAULT_KEX_EXTENSION_HANDLER
      • DEFAULT_SERVER_CIPHERS_PREFERENCE

        public static final java.util.List<BuiltinCiphers> DEFAULT_SERVER_CIPHERS_PREFERENCE
        Default list of ciphers for a server. This excludes the AES-CBC ciphers -- OpenSSH has stopped proposing them by default in 2014 (and removed them from the client proposal in 2017, too). CBC is susceptible to padding oracle attacks and other attacks and is thus not recommended anymore.

        For clients, we do still include the CBC modes to better support connecting with legacy servers.

    • Constructor Detail

      • ServerBuilder

        public ServerBuilder()