|
Lines 111-117
Link Here
|
| 111 |
typedef enum { |
111 |
typedef enum { |
| 112 |
oBadOption, |
112 |
oBadOption, |
| 113 |
oForwardAgent, oForwardX11, oForwardX11Trusted, oGatewayPorts, |
113 |
oForwardAgent, oForwardX11, oForwardX11Trusted, oGatewayPorts, |
| 114 |
oExitOnForwardFailure, |
114 |
oForwardX11Timeout, oExitOnForwardFailure, |
| 115 |
oPasswordAuthentication, oRSAAuthentication, |
115 |
oPasswordAuthentication, oRSAAuthentication, |
| 116 |
oChallengeResponseAuthentication, oXAuthLocation, |
116 |
oChallengeResponseAuthentication, oXAuthLocation, |
| 117 |
oIdentityFile, oHostName, oPort, oCipher, oRemoteForward, oLocalForward, |
117 |
oIdentityFile, oHostName, oPort, oCipher, oRemoteForward, oLocalForward, |
|
Lines 143-148
Link Here
|
| 143 |
{ "forwardagent", oForwardAgent }, |
143 |
{ "forwardagent", oForwardAgent }, |
| 144 |
{ "forwardx11", oForwardX11 }, |
144 |
{ "forwardx11", oForwardX11 }, |
| 145 |
{ "forwardx11trusted", oForwardX11Trusted }, |
145 |
{ "forwardx11trusted", oForwardX11Trusted }, |
|
|
146 |
{ "forwardx11timeout", oForwardX11Timeout }, |
| 146 |
{ "exitonforwardfailure", oExitOnForwardFailure }, |
147 |
{ "exitonforwardfailure", oExitOnForwardFailure }, |
| 147 |
{ "xauthlocation", oXAuthLocation }, |
148 |
{ "xauthlocation", oXAuthLocation }, |
| 148 |
{ "gatewayports", oGatewayPorts }, |
149 |
{ "gatewayports", oGatewayPorts }, |
|
Lines 404-409
Link Here
|
| 404 |
case oForwardX11Trusted: |
405 |
case oForwardX11Trusted: |
| 405 |
intptr = &options->forward_x11_trusted; |
406 |
intptr = &options->forward_x11_trusted; |
| 406 |
goto parse_flag; |
407 |
goto parse_flag; |
|
|
408 |
|
| 409 |
case oForwardX11Timeout: |
| 410 |
intptr = &options->forward_x11_timeout; |
| 411 |
goto parse_time; |
| 407 |
|
412 |
|
| 408 |
case oGatewayPorts: |
413 |
case oGatewayPorts: |
| 409 |
intptr = &options->gateway_ports; |
414 |
intptr = &options->gateway_ports; |
|
Lines 1008-1013
Link Here
|
| 1008 |
options->forward_agent = -1; |
1013 |
options->forward_agent = -1; |
| 1009 |
options->forward_x11 = -1; |
1014 |
options->forward_x11 = -1; |
| 1010 |
options->forward_x11_trusted = -1; |
1015 |
options->forward_x11_trusted = -1; |
|
|
1016 |
options->forward_x11_timeout = -1; |
| 1011 |
options->exit_on_forward_failure = -1; |
1017 |
options->exit_on_forward_failure = -1; |
| 1012 |
options->xauth_location = NULL; |
1018 |
options->xauth_location = NULL; |
| 1013 |
options->gateway_ports = -1; |
1019 |
options->gateway_ports = -1; |
|
Lines 1092-1097
Link Here
|
| 1092 |
options->forward_x11 = 0; |
1098 |
options->forward_x11 = 0; |
| 1093 |
if (options->forward_x11_trusted == -1) |
1099 |
if (options->forward_x11_trusted == -1) |
| 1094 |
options->forward_x11_trusted = 0; |
1100 |
options->forward_x11_trusted = 0; |
|
|
1101 |
if (options->forward_x11_timeout == -1) |
| 1102 |
options->forward_x11_timeout = 1200; |
| 1095 |
if (options->exit_on_forward_failure == -1) |
1103 |
if (options->exit_on_forward_failure == -1) |
| 1096 |
options->exit_on_forward_failure = 0; |
1104 |
options->exit_on_forward_failure = 0; |
| 1097 |
if (options->xauth_location == NULL) |
1105 |
if (options->xauth_location == NULL) |