version 1.10, 1999/10/06 20:07:42 |
version 1.11, 1999/10/12 21:04:21 |
|
|
oUser, oHost, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand, |
oUser, oHost, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand, |
oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, |
oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts, |
oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression, |
oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression, |
oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication |
oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication, |
|
oUsePrivilegedPort |
} OpCodes; |
} OpCodes; |
|
|
/* Textual representations of the tokens. */ |
/* Textual representations of the tokens. */ |
|
|
{ "forwardagent", oForwardAgent }, |
{ "forwardagent", oForwardAgent }, |
{ "forwardx11", oForwardX11 }, |
{ "forwardx11", oForwardX11 }, |
{ "gatewayports", oGatewayPorts }, |
{ "gatewayports", oGatewayPorts }, |
|
{ "useprivilegedports", oUsePrivilegedPort }, |
{ "rhostsauthentication", oRhostsAuthentication }, |
{ "rhostsauthentication", oRhostsAuthentication }, |
{ "passwordauthentication", oPasswordAuthentication }, |
{ "passwordauthentication", oPasswordAuthentication }, |
{ "rsaauthentication", oRSAAuthentication }, |
{ "rsaauthentication", oRSAAuthentication }, |
|
|
intptr = &options->gateway_ports; |
intptr = &options->gateway_ports; |
goto parse_flag; |
goto parse_flag; |
|
|
|
case oUsePrivilegedPort: |
|
intptr = &options->use_privileged_port; |
|
goto parse_flag; |
|
|
case oRhostsAuthentication: |
case oRhostsAuthentication: |
intptr = &options->rhosts_authentication; |
intptr = &options->rhosts_authentication; |
goto parse_flag; |
goto parse_flag; |
|
|
options->forward_agent = -1; |
options->forward_agent = -1; |
options->forward_x11 = -1; |
options->forward_x11 = -1; |
options->gateway_ports = -1; |
options->gateway_ports = -1; |
|
options->use_privileged_port = -1; |
options->rhosts_authentication = -1; |
options->rhosts_authentication = -1; |
options->rsa_authentication = -1; |
options->rsa_authentication = -1; |
#ifdef KRB4 |
#ifdef KRB4 |
|
|
options->forward_x11 = 1; |
options->forward_x11 = 1; |
if (options->gateway_ports == -1) |
if (options->gateway_ports == -1) |
options->gateway_ports = 0; |
options->gateway_ports = 0; |
|
if (options->use_privileged_port == -1) |
|
options->use_privileged_port = 1; |
if (options->rhosts_authentication == -1) |
if (options->rhosts_authentication == -1) |
options->rhosts_authentication = 1; |
options->rhosts_authentication = 1; |
if (options->rsa_authentication == -1) |
if (options->rsa_authentication == -1) |