mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
to both client and server configuration file Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
74 lines
2.1 KiB
C
74 lines
2.1 KiB
C
/*
|
|
* config.h - parse the ssh config file
|
|
*
|
|
* This file is part of the SSH Library
|
|
*
|
|
* Copyright (c) 2009-2018 by Andreas Schneider <asn@cryptomilk.org>
|
|
*
|
|
* The SSH Library is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation; either version 2.1 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* The SSH Library is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
* License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with the SSH Library; see the file COPYING. If not, write to
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
* MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef LIBSSH_CONFIG_H_
|
|
#define LIBSSH_CONFIG_H_
|
|
|
|
|
|
enum ssh_config_opcode_e {
|
|
/* Unknown opcode */
|
|
SOC_UNKNOWN = -3,
|
|
/* Known and not applicable to libssh */
|
|
SOC_NA = -2,
|
|
/* Known but not supported by current libssh version */
|
|
SOC_UNSUPPORTED = -1,
|
|
SOC_HOST,
|
|
SOC_MATCH,
|
|
SOC_HOSTNAME,
|
|
SOC_PORT,
|
|
SOC_USERNAME,
|
|
SOC_IDENTITY,
|
|
SOC_CIPHERS,
|
|
SOC_MACS,
|
|
SOC_COMPRESSION,
|
|
SOC_TIMEOUT,
|
|
SOC_STRICTHOSTKEYCHECK,
|
|
SOC_KNOWNHOSTS,
|
|
SOC_PROXYCOMMAND,
|
|
SOC_PROXYJUMP,
|
|
SOC_GSSAPISERVERIDENTITY,
|
|
SOC_GSSAPICLIENTIDENTITY,
|
|
SOC_GSSAPIDELEGATECREDENTIALS,
|
|
SOC_INCLUDE,
|
|
SOC_BINDADDRESS,
|
|
SOC_GLOBALKNOWNHOSTSFILE,
|
|
SOC_LOGLEVEL,
|
|
SOC_HOSTKEYALGORITHMS,
|
|
SOC_KEXALGORITHMS,
|
|
SOC_GSSAPIAUTHENTICATION,
|
|
SOC_KBDINTERACTIVEAUTHENTICATION,
|
|
SOC_PASSWORDAUTHENTICATION,
|
|
SOC_PUBKEYAUTHENTICATION,
|
|
SOC_PUBKEYACCEPTEDKEYTYPES,
|
|
SOC_REKEYLIMIT,
|
|
SOC_IDENTITYAGENT,
|
|
SOC_IDENTITIESONLY,
|
|
SOC_CONTROLMASTER,
|
|
SOC_CONTROLPATH,
|
|
SOC_CERTIFICATE,
|
|
SOC_REQUIRED_RSA_SIZE,
|
|
|
|
SOC_MAX /* Keep this one last in the list */
|
|
};
|
|
#endif /* LIBSSH_CONFIG_H_ */
|