public interface ConfigBuilder extends ProxyBuilder
Some of the more common options you might configure are:
compression.s2c
and compression.c2s
for the compression algorithm to use : none
or zlib
compression_level
for the level of compressionserver_host_key
for enabling or disabling certain types of keys such as
ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
StrictHostKeyChecking
to force the host to present in any configured known_hosts
filePreferredAuthentications
for preferred authentication mechanisms such as
gssapi-with-mic,publickey,keyboard-interactive,password
kex
for the key exchange algorithmsServerAliveInterval
, ConnectTimeout
, MaxAuthTries
, ClearAllForwardings
,
HashKnownHosts
Generally the defaults are quite sensible, so you don't tend to need to configure anything unless the host you are connecting to has some very specific requires
Modifier and Type | Method and Description |
---|---|
com.jcraft.jsch.ConfigRepository |
buildConfigRepository()
Build a
ConfigRepository . |
buildProxy