libssh  0.11.0
The SSH library
Loading...
Searching...
No Matches
config.h
1/*
2 * config.h - parse the ssh config file
3 *
4 * This file is part of the SSH Library
5 *
6 * Copyright (c) 2009-2018 by Andreas Schneider <asn@cryptomilk.org>
7 *
8 * The SSH Library is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or (at your
11 * option) any later version.
12 *
13 * The SSH Library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 * License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with the SSH Library; see the file COPYING. If not, write to
20 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21 * MA 02111-1307, USA.
22 */
23
24#ifndef LIBSSH_CONFIG_H_
25#define LIBSSH_CONFIG_H_
26
27
28enum ssh_config_opcode_e {
29 /* Unknown opcode */
30 SOC_UNKNOWN = -3,
31 /* Known and not applicable to libssh */
32 SOC_NA = -2,
33 /* Known but not supported by current libssh version */
34 SOC_UNSUPPORTED = -1,
35 SOC_HOST,
36 SOC_MATCH,
37 SOC_HOSTNAME,
38 SOC_PORT,
39 SOC_USERNAME,
40 SOC_IDENTITY,
41 SOC_CIPHERS,
42 SOC_MACS,
43 SOC_COMPRESSION,
44 SOC_TIMEOUT,
45 SOC_STRICTHOSTKEYCHECK,
46 SOC_KNOWNHOSTS,
47 SOC_PROXYCOMMAND,
48 SOC_PROXYJUMP,
49 SOC_GSSAPISERVERIDENTITY,
50 SOC_GSSAPICLIENTIDENTITY,
51 SOC_GSSAPIDELEGATECREDENTIALS,
52 SOC_INCLUDE,
53 SOC_BINDADDRESS,
54 SOC_GLOBALKNOWNHOSTSFILE,
55 SOC_LOGLEVEL,
56 SOC_HOSTKEYALGORITHMS,
57 SOC_KEXALGORITHMS,
58 SOC_GSSAPIAUTHENTICATION,
59 SOC_KBDINTERACTIVEAUTHENTICATION,
60 SOC_PASSWORDAUTHENTICATION,
61 SOC_PUBKEYAUTHENTICATION,
62 SOC_PUBKEYACCEPTEDKEYTYPES,
63 SOC_REKEYLIMIT,
64 SOC_IDENTITYAGENT,
65 SOC_IDENTITIESONLY,
66 SOC_CONTROLMASTER,
67 SOC_CONTROLPATH,
68 SOC_CERTIFICATE,
69
70 SOC_MAX /* Keep this one last in the list */
71};
72#endif /* LIBSSH_CONFIG_H_ */