|
Lines 107-113
Link Here
|
| 107 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
107 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
| 108 |
oAddressFamily, oGssAuthentication, oGssDelegateCreds, |
108 |
oAddressFamily, oGssAuthentication, oGssDelegateCreds, |
| 109 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
109 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
| 110 |
oVersionAddendum, |
110 |
oVersionAddendum, oRemoteForwardIsRequired, |
| 111 |
oDeprecated, oUnsupported |
111 |
oDeprecated, oUnsupported |
| 112 |
} OpCodes; |
112 |
} OpCodes; |
| 113 |
|
113 |
|
|
Lines 196-201
Link Here
|
| 196 |
{ "serveraliveinterval", oServerAliveInterval }, |
196 |
{ "serveraliveinterval", oServerAliveInterval }, |
| 197 |
{ "serveralivecountmax", oServerAliveCountMax }, |
197 |
{ "serveralivecountmax", oServerAliveCountMax }, |
| 198 |
{ "versionaddendum", oVersionAddendum }, |
198 |
{ "versionaddendum", oVersionAddendum }, |
|
|
199 |
{ "remoteforwardisrequired", oRemoteForwardIsRequired }, |
| 199 |
{ NULL, oBadOption } |
200 |
{ NULL, oBadOption } |
| 200 |
}; |
201 |
}; |
| 201 |
|
202 |
|
|
Lines 759-764
Link Here
|
| 759 |
} while (arg != NULL && *arg != '\0'); |
760 |
} while (arg != NULL && *arg != '\0'); |
| 760 |
break; |
761 |
break; |
| 761 |
|
762 |
|
|
|
763 |
case oRemoteForwardIsRequired: |
| 764 |
intptr = &options->remote_forward_is_required; |
| 765 |
goto parse_flag; |
| 766 |
|
| 762 |
case oDeprecated: |
767 |
case oDeprecated: |
| 763 |
debug("%s line %d: Deprecated option \"%s\"", |
768 |
debug("%s line %d: Deprecated option \"%s\"", |
| 764 |
filename, linenum, keyword); |
769 |
filename, linenum, keyword); |
|
Lines 889-894
Link Here
|
| 889 |
options->verify_host_key_dns = -1; |
894 |
options->verify_host_key_dns = -1; |
| 890 |
options->server_alive_interval = -1; |
895 |
options->server_alive_interval = -1; |
| 891 |
options->server_alive_count_max = -1; |
896 |
options->server_alive_count_max = -1; |
|
|
897 |
options->remote_forward_is_required = -1; |
| 892 |
} |
898 |
} |
| 893 |
|
899 |
|
| 894 |
/* |
900 |
/* |
|
Lines 1009-1014
Link Here
|
| 1009 |
options->server_alive_interval = 0; |
1015 |
options->server_alive_interval = 0; |
| 1010 |
if (options->server_alive_count_max == -1) |
1016 |
if (options->server_alive_count_max == -1) |
| 1011 |
options->server_alive_count_max = 3; |
1017 |
options->server_alive_count_max = 3; |
|
|
1018 |
if (options->remote_forward_is_required == -1) |
| 1019 |
options->remote_forward_is_required = 0; |
| 1012 |
/* options->proxy_command should not be set by default */ |
1020 |
/* options->proxy_command should not be set by default */ |
| 1013 |
/* options->user will be set in the main program if appropriate */ |
1021 |
/* options->user will be set in the main program if appropriate */ |
| 1014 |
/* options->hostname will be set in the main program if appropriate */ |
1022 |
/* options->hostname will be set in the main program if appropriate */ |