1
2
3
4
5
6
7
8
9
10
11 package org.eclipse.jgit.transport;
12
13 import org.eclipse.jgit.lib.Constants;
14
15
16
17
18
19
20 @SuppressWarnings("nls")
21 public final class SshConstants {
22
23 private SshConstants() {
24
25 }
26
27
28 public static final int SSH_DEFAULT_PORT = 22;
29
30
31 public static final String SSH_SCHEME = "ssh";
32
33
34 public static final String SFTP_SCHEME = "sftp";
35
36
37 public static final String SSH_DIR = ".ssh";
38
39
40 public static final String CONFIG = Constants.CONFIG;
41
42
43 public static final String KNOWN_HOSTS = "known_hosts";
44
45
46
47
48
49
50
51
52
53 public static final String ADD_KEYS_TO_AGENT = "AddKeysToAgent";
54
55
56 public static final String BATCH_MODE = "BatchMode";
57
58
59 public static final String CANONICAL_DOMAINS = "CanonicalDomains";
60
61
62 public static final String CERTIFICATE_FILE = "CertificateFile";
63
64
65 public static final String CIPHERS = "Ciphers";
66
67
68 public static final String COMPRESSION = "Compression";
69
70
71 public static final String CONNECTION_ATTEMPTS = "ConnectionAttempts";
72
73
74
75
76
77
78
79
80 public static final String CONNECT_TIMEOUT = "ConnectTimeout";
81
82
83 public static final String CONTROL_PATH = "ControlPath";
84
85
86 public static final String GLOBAL_KNOWN_HOSTS_FILE = "GlobalKnownHostsFile";
87
88
89
90
91
92
93 public static final String HASH_KNOWN_HOSTS = "HashKnownHosts";
94
95
96 public static final String HOST = "Host";
97
98
99 public static final String HOST_KEY_ALGORITHMS = "HostKeyAlgorithms";
100
101
102 public static final String HOST_NAME = "HostName";
103
104
105 public static final String IDENTITIES_ONLY = "IdentitiesOnly";
106
107
108 public static final String IDENTITY_AGENT = "IdentityAgent";
109
110
111 public static final String IDENTITY_FILE = "IdentityFile";
112
113
114 public static final String KEX_ALGORITHMS = "KexAlgorithms";
115
116
117 public static final String LOCAL_COMMAND = "LocalCommand";
118
119
120 public static final String LOCAL_FORWARD = "LocalForward";
121
122
123 public static final String MACS = "MACs";
124
125
126 public static final String NUMBER_OF_PASSWORD_PROMPTS = "NumberOfPasswordPrompts";
127
128
129 public static final String PORT = "Port";
130
131
132 public static final String PREFERRED_AUTHENTICATIONS = "PreferredAuthentications";
133
134
135
136
137
138
139
140 public static final String PUBKEY_ACCEPTED_ALGORITHMS = "PubkeyAcceptedAlgorithms";
141
142
143 public static final String PROXY_COMMAND = "ProxyCommand";
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171 public static final String PROXY_JUMP = "ProxyJump";
172
173
174 public static final String REMOTE_COMMAND = "RemoteCommand";
175
176
177 public static final String REMOTE_FORWARD = "RemoteForward";
178
179
180
181
182
183
184
185 public static final String SECURITY_KEY_PROVIDER = "SecurityKeyProvider";
186
187
188 public static final String SEND_ENV = "SendEnv";
189
190
191 public static final String STRICT_HOST_KEY_CHECKING = "StrictHostKeyChecking";
192
193
194 public static final String USER = "User";
195
196
197 public static final String USER_KNOWN_HOSTS_FILE = "UserKnownHostsFile";
198
199
200
201
202 public static final String YES = "yes";
203
204
205 public static final String ON = "on";
206
207
208 public static final String TRUE = "true";
209
210
211 public static final String NO = "no";
212
213
214 public static final String OFF = "off";
215
216
217 public static final String FALSE = "false";
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237 public static final String NONE = "none";
238
239
240
241
242 public static final String ID_RSA = "id_rsa";
243
244
245 public static final String ID_DSA = "id_dsa";
246
247
248 public static final String ID_ECDSA = "id_ecdsa";
249
250
251 public static final String ID_ED25519 = "id_ed25519";
252
253
254 public static final String[] DEFAULT_IDENTITIES = {
255 ID_RSA, ID_DSA, ID_ECDSA, ID_ED25519
256 };
257
258
259
260
261
262
263
264 public static final String ENV_SSH_AUTH_SOCKET = "SSH_AUTH_SOCK";
265 }