|
Lines 148-154
typedef enum {
Link Here
|
| 148 |
oChallengeResponseAuthentication, oXAuthLocation, |
148 |
oChallengeResponseAuthentication, oXAuthLocation, |
| 149 |
oIdentityFile, oHostName, oPort, oCipher, oRemoteForward, oLocalForward, |
149 |
oIdentityFile, oHostName, oPort, oCipher, oRemoteForward, oLocalForward, |
| 150 |
oCertificateFile, oAddKeysToAgent, oIdentityAgent, |
150 |
oCertificateFile, oAddKeysToAgent, oIdentityAgent, |
| 151 |
oUser, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand, |
151 |
oUser, oEscapeChar, oEscapeCharForwardMenu, oRhostsRSAAuthentication, oProxyCommand, |
| 152 |
oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, |
152 |
oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, |
| 153 |
oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression, |
153 |
oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression, |
| 154 |
oCompressionLevel, oTCPKeepAlive, oNumberOfPasswordPrompts, |
154 |
oCompressionLevel, oTCPKeepAlive, oNumberOfPasswordPrompts, |
|
Lines 255-260
static struct {
Link Here
|
| 255 |
{ "host", oHost }, |
255 |
{ "host", oHost }, |
| 256 |
{ "match", oMatch }, |
256 |
{ "match", oMatch }, |
| 257 |
{ "escapechar", oEscapeChar }, |
257 |
{ "escapechar", oEscapeChar }, |
|
|
258 |
{ "escapecharforwardmenu", oEscapeCharForwardMenu }, |
| 258 |
{ "globalknownhostsfile", oGlobalKnownHostsFile }, |
259 |
{ "globalknownhostsfile", oGlobalKnownHostsFile }, |
| 259 |
{ "userknownhostsfile", oUserKnownHostsFile }, |
260 |
{ "userknownhostsfile", oUserKnownHostsFile }, |
| 260 |
{ "connectionattempts", oConnectionAttempts }, |
261 |
{ "connectionattempts", oConnectionAttempts }, |
|
Lines 1368-1373
parse_keytypes:
Link Here
|
| 1368 |
*intptr = value; |
1369 |
*intptr = value; |
| 1369 |
break; |
1370 |
break; |
| 1370 |
|
1371 |
|
|
|
1372 |
case oEscapeCharForwardMenu: |
| 1373 |
intptr = &options->escape_char_forward_menu; |
| 1374 |
goto parse_flag; |
| 1375 |
|
| 1371 |
case oAddressFamily: |
1376 |
case oAddressFamily: |
| 1372 |
intptr = &options->address_family; |
1377 |
intptr = &options->address_family; |
| 1373 |
multistate_ptr = multistate_addressfamily; |
1378 |
multistate_ptr = multistate_addressfamily; |
|
Lines 1827-1832
initialize_options(Options * options)
Link Here
|
| 1827 |
options->jump_extra = NULL; |
1832 |
options->jump_extra = NULL; |
| 1828 |
options->user = NULL; |
1833 |
options->user = NULL; |
| 1829 |
options->escape_char = -1; |
1834 |
options->escape_char = -1; |
|
|
1835 |
options->escape_char_forward_menu = -1; |
| 1830 |
options->num_system_hostfiles = 0; |
1836 |
options->num_system_hostfiles = 0; |
| 1831 |
options->num_user_hostfiles = 0; |
1837 |
options->num_user_hostfiles = 0; |
| 1832 |
options->local_forwards = NULL; |
1838 |
options->local_forwards = NULL; |
|
Lines 1995-2000
fill_default_options(Options * options)
Link Here
|
| 1995 |
} |
2001 |
} |
| 1996 |
if (options->escape_char == -1) |
2002 |
if (options->escape_char == -1) |
| 1997 |
options->escape_char = '~'; |
2003 |
options->escape_char = '~'; |
|
|
2004 |
if (options->escape_char_forward_menu == -1) |
| 2005 |
options->escape_char_forward_menu = 1; |
| 1998 |
if (options->num_system_hostfiles == 0) { |
2006 |
if (options->num_system_hostfiles == 0) { |
| 1999 |
options->system_hostfiles[options->num_system_hostfiles++] = |
2007 |
options->system_hostfiles[options->num_system_hostfiles++] = |
| 2000 |
xstrdup(_PATH_SSH_SYSTEM_HOSTFILE); |
2008 |
xstrdup(_PATH_SSH_SYSTEM_HOSTFILE); |
|
Lines 2551-2556
dump_client_config(Options *o, const char *host)
Link Here
|
| 2551 |
dump_cfg_fmtint(oVerifyHostKeyDNS, o->verify_host_key_dns); |
2559 |
dump_cfg_fmtint(oVerifyHostKeyDNS, o->verify_host_key_dns); |
| 2552 |
dump_cfg_fmtint(oVisualHostKey, o->visual_host_key); |
2560 |
dump_cfg_fmtint(oVisualHostKey, o->visual_host_key); |
| 2553 |
dump_cfg_fmtint(oUpdateHostkeys, o->update_hostkeys); |
2561 |
dump_cfg_fmtint(oUpdateHostkeys, o->update_hostkeys); |
|
|
2562 |
dump_cfg_fmtint(oEscapeCharForwardMenu, o->escape_char_forward_menu); |
| 2554 |
|
2563 |
|
| 2555 |
/* Integer options */ |
2564 |
/* Integer options */ |
| 2556 |
dump_cfg_int(oCanonicalizeMaxDots, o->canonicalize_max_dots); |
2565 |
dump_cfg_int(oCanonicalizeMaxDots, o->canonicalize_max_dots); |