version 1.67, 2005/06/08 11:25:09 |
version 1.67.2.2, 2006/10/06 03:19:33 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
|
|
#ifndef READCONF_H |
#ifndef READCONF_H |
#define READCONF_H |
#define READCONF_H |
|
|
#include "key.h" |
|
|
|
/* Data structure for representing a forwarding request. */ |
/* Data structure for representing a forwarding request. */ |
|
|
typedef struct { |
typedef struct { |
|
|
int forward_agent; /* Forward authentication agent. */ |
int forward_agent; /* Forward authentication agent. */ |
int forward_x11; /* Forward X11 display. */ |
int forward_x11; /* Forward X11 display. */ |
int forward_x11_trusted; /* Trust Forward X11 display. */ |
int forward_x11_trusted; /* Trust Forward X11 display. */ |
|
int exit_on_forward_failure; /* Exit if bind(2) fails for -L/-R */ |
char *xauth_location; /* Location for xauth program */ |
char *xauth_location; /* Location for xauth program */ |
int gateway_ports; /* Allow remote connects to forwarded ports. */ |
int gateway_ports; /* Allow remote connects to forwarded ports. */ |
int use_privileged_port; /* Don't use privileged port if false. */ |
int use_privileged_port; /* Don't use privileged port if false. */ |
|
|
int control_master; |
int control_master; |
|
|
int hash_known_hosts; |
int hash_known_hosts; |
|
|
|
int tun_open; /* tun(4) */ |
|
int tun_local; /* force tun device (optional) */ |
|
int tun_remote; /* force tun device (optional) */ |
|
|
|
char *local_command; |
|
int permit_local_command; |
|
|
} Options; |
} Options; |
|
|
#define SSHCTL_MASTER_NO 0 |
#define SSHCTL_MASTER_NO 0 |