Package org.eclipse.jgit.transport
Class SshConstants
java.lang.Object
org.eclipse.jgit.transport.SshConstants
Constants relating to ssh.
- Since:
- 5.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property to control whether private keys are added to an SSH agent, if one is running, after having been loaded.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Name of the ssh config file.static final String
An OpenSSH time value for the connection timeout.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String[]
All known default identity file names.static final String
Name of the environment variable holding the Unix domain socket for communication with an SSH agent.static final String
Flag value.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Name of the default DSA private identity file.static final String
Name of the default ECDSA private identity file.static final String
Name of the default ED25519 private identity file.static final String
Name of the default RSA private identity file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Default name of the user "known hosts" file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Flag value.static final String
Property value.static final String
Key in an ssh config file.static final String
Flag value.static final String
Flag value.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Comma-separated list of jump hosts, defining a jump host chain in reverse order.static final String
Key in an ssh config file; defines signature algorithms for public key authentication as a comma-separated list.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
(Absolute) path to a middleware library the SSH agent shall use to load SK (U2F) keys.static final String
Key in an ssh config file.static final String
URI scheme for sftp.static final int
IANA assigned port number for ssh.static final String
Default name for a ssh directory.static final String
URI scheme for ssh.static final String
Key in an ssh config file.static final String
Flag value.static final String
Key in an ssh config file.static final String
Key in an ssh config file.static final String
Flag value. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SSH_DEFAULT_PORT
public static final int SSH_DEFAULT_PORTIANA assigned port number for ssh.- See Also:
-
SSH_SCHEME
URI scheme for ssh.- See Also:
-
SFTP_SCHEME
URI scheme for sftp.- See Also:
-
SSH_DIR
Default name for a ssh directory.- See Also:
-
CONFIG
Name of the ssh config file.- See Also:
-
KNOWN_HOSTS
Default name of the user "known hosts" file.- See Also:
-
ADD_KEYS_TO_AGENT
Property to control whether private keys are added to an SSH agent, if one is running, after having been loaded.- Since:
- 6.1
- See Also:
-
BATCH_MODE
Key in an ssh config file.- See Also:
-
CANONICAL_DOMAINS
Key in an ssh config file.- See Also:
-
CERTIFICATE_FILE
Key in an ssh config file.- See Also:
-
CIPHERS
Key in an ssh config file.- See Also:
-
COMPRESSION
Key in an ssh config file.- See Also:
-
CONNECTION_ATTEMPTS
Key in an ssh config file.- See Also:
-
CONNECT_TIMEOUT
An OpenSSH time value for the connection timeout. In OpenSSH, this includes everything until the end of the initial key exchange; in JGit it covers only the underlying TCP connect.- Since:
- 6.1
- See Also:
-
CONTROL_PATH
Key in an ssh config file.- See Also:
-
GLOBAL_KNOWN_HOSTS_FILE
Key in an ssh config file.- See Also:
-
HASH_KNOWN_HOSTS
Key in an ssh config file.- Since:
- 5.5
- See Also:
-
HOST
Key in an ssh config file.- See Also:
-
HOST_KEY_ALGORITHMS
Key in an ssh config file.- See Also:
-
HOST_NAME
Key in an ssh config file.- See Also:
-
IDENTITIES_ONLY
Key in an ssh config file.- See Also:
-
IDENTITY_AGENT
Key in an ssh config file.- See Also:
-
IDENTITY_FILE
Key in an ssh config file.- See Also:
-
KEX_ALGORITHMS
Key in an ssh config file.- See Also:
-
LOCAL_COMMAND
Key in an ssh config file.- See Also:
-
LOCAL_FORWARD
Key in an ssh config file.- See Also:
-
MACS
Key in an ssh config file.- See Also:
-
NUMBER_OF_PASSWORD_PROMPTS
Key in an ssh config file.- See Also:
-
PORT
Key in an ssh config file.- See Also:
-
PREFERRED_AUTHENTICATIONS
Key in an ssh config file.- See Also:
-
PUBKEY_ACCEPTED_ALGORITHMS
Key in an ssh config file; defines signature algorithms for public key authentication as a comma-separated list.- Since:
- 5.11.1
- See Also:
-
PROXY_COMMAND
Key in an ssh config file.- See Also:
-
PROXY_JUMP
Comma-separated list of jump hosts, defining a jump host chain in reverse order. Each jump host is a SSH URI or "[user@]host[:port]".Reverse order means: to connect A->B->target, one can do in
~/.ssh/config
either of:Host target ProxyJump B,A
or
Host target ProxyJump B Host B ProxyJump A
- Since:
- 5.10
- See Also:
-
REMOTE_COMMAND
Key in an ssh config file.- See Also:
-
REMOTE_FORWARD
Key in an ssh config file.- See Also:
-
SECURITY_KEY_PROVIDER
(Absolute) path to a middleware library the SSH agent shall use to load SK (U2F) keys.- Since:
- 6.1
- See Also:
-
SEND_ENV
Key in an ssh config file.- See Also:
-
STRICT_HOST_KEY_CHECKING
Key in an ssh config file.- See Also:
-
USER
Key in an ssh config file.- See Also:
-
USER_KNOWN_HOSTS_FILE
Key in an ssh config file.- See Also:
-
YES
Flag value.- See Also:
-
ON
Flag value.- See Also:
-
TRUE
Flag value.- See Also:
-
NO
Flag value.- See Also:
-
OFF
Flag value.- See Also:
-
FALSE
Flag value.- See Also:
-
NONE
Property value. Some keys accept a special 'none' value to override and clear a setting otherwise contributed by another host entry, for instancePROXY_COMMAND
orPROXY_JUMP
. Example:Host bastion.example.org ProxyJump none Host *.example.org ProxyJump bastion.example.org
OpenSSH supports this since OpenSSH 7.8.
- Since:
- 6.0
- See Also:
-
ID_RSA
Name of the default RSA private identity file.- See Also:
-
ID_DSA
Name of the default DSA private identity file.- See Also:
-
ID_ECDSA
Name of the default ECDSA private identity file.- See Also:
-
ID_ED25519
Name of the default ED25519 private identity file.- See Also:
-
DEFAULT_IDENTITIES
All known default identity file names. -
ENV_SSH_AUTH_SOCKET
Name of the environment variable holding the Unix domain socket for communication with an SSH agent.- Since:
- 6.1
- See Also:
-
-
Constructor Details
-
SshConstants
private SshConstants()
-