version 1.159, 2023/01/17 09:44:48 |
version 1.160, 2023/09/06 23:35:35 |
|
|
|
|
#define MAX_PORTS 256 /* Max # ports. */ |
#define MAX_PORTS 256 /* Max # ports. */ |
|
|
#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */ |
|
|
|
/* permit_root_login */ |
/* permit_root_login */ |
#define PERMIT_NOT_SET -1 |
#define PERMIT_NOT_SET -1 |
#define PERMIT_NO 0 |
#define PERMIT_NO 0 |
|
|
char **deny_groups; |
char **deny_groups; |
|
|
u_int num_subsystems; |
u_int num_subsystems; |
char *subsystem_name[MAX_SUBSYSTEMS]; |
char **subsystem_name; |
char *subsystem_command[MAX_SUBSYSTEMS]; |
char **subsystem_command; |
char *subsystem_args[MAX_SUBSYSTEMS]; |
char **subsystem_args; |
|
|
u_int num_accept_env; |
u_int num_accept_env; |
char **accept_env; |
char **accept_env; |
|
|
M_CP_STRARRAYOPT(permitted_listens, num_permitted_listens); \ |
M_CP_STRARRAYOPT(permitted_listens, num_permitted_listens); \ |
M_CP_STRARRAYOPT(channel_timeouts, num_channel_timeouts); \ |
M_CP_STRARRAYOPT(channel_timeouts, num_channel_timeouts); \ |
M_CP_STRARRAYOPT(log_verbose, num_log_verbose); \ |
M_CP_STRARRAYOPT(log_verbose, num_log_verbose); \ |
|
M_CP_STRARRAYOPT(subsystem_name, num_subsystems); \ |
|
M_CP_STRARRAYOPT(subsystem_command, num_subsystems); \ |
|
M_CP_STRARRAYOPT(subsystem_args, num_subsystems); \ |
} while (0) |
} while (0) |
|
|
struct connection_info *get_connection_info(struct ssh *, int, int); |
struct connection_info *get_connection_info(struct ssh *, int, int); |
|
|
struct include_list *includes, struct connection_info *); |
struct include_list *includes, struct connection_info *); |
int parse_server_match_testspec(struct connection_info *, char *); |
int parse_server_match_testspec(struct connection_info *, char *); |
int server_match_spec_complete(struct connection_info *); |
int server_match_spec_complete(struct connection_info *); |
|
void servconf_merge_subsystems(ServerOptions *, ServerOptions *); |
void copy_set_server_options(ServerOptions *, ServerOptions *, int); |
void copy_set_server_options(ServerOptions *, ServerOptions *, int); |
void dump_config(ServerOptions *); |
void dump_config(ServerOptions *); |
char *derelativise_path(const char *); |
char *derelativise_path(const char *); |