|
Lines 159-164
typedef enum {
Link Here
|
| 159 |
oStreamLocalBindMask, oStreamLocalBindUnlink, oRevokedHostKeys, |
159 |
oStreamLocalBindMask, oStreamLocalBindUnlink, oRevokedHostKeys, |
| 160 |
oFingerprintHash, oUpdateHostkeys, oHostbasedKeyTypes, |
160 |
oFingerprintHash, oUpdateHostkeys, oHostbasedKeyTypes, |
| 161 |
oPubkeyAcceptedKeyTypes, |
161 |
oPubkeyAcceptedKeyTypes, |
|
|
162 |
oRemoteCommand, |
| 162 |
oIgnoredUnknownOption, oDeprecated, oUnsupported |
163 |
oIgnoredUnknownOption, oDeprecated, oUnsupported |
| 163 |
} OpCodes; |
164 |
} OpCodes; |
| 164 |
|
165 |
|
|
Lines 281-286
static struct {
Link Here
|
| 281 |
{ "hostbasedkeytypes", oHostbasedKeyTypes }, |
282 |
{ "hostbasedkeytypes", oHostbasedKeyTypes }, |
| 282 |
{ "pubkeyacceptedkeytypes", oPubkeyAcceptedKeyTypes }, |
283 |
{ "pubkeyacceptedkeytypes", oPubkeyAcceptedKeyTypes }, |
| 283 |
{ "ignoreunknown", oIgnoreUnknown }, |
284 |
{ "ignoreunknown", oIgnoreUnknown }, |
|
|
285 |
{ "remotecommand", oRemoteCommand }, |
| 284 |
|
286 |
|
| 285 |
{ NULL, oBadOption } |
287 |
{ NULL, oBadOption } |
| 286 |
}; |
288 |
}; |
|
Lines 1399-1404
parse_keytypes:
Link Here
|
| 1399 |
charptr = &options->local_command; |
1401 |
charptr = &options->local_command; |
| 1400 |
goto parse_command; |
1402 |
goto parse_command; |
| 1401 |
|
1403 |
|
|
|
1404 |
case oRemoteCommand: |
| 1405 |
charptr = &options->remote_command; |
| 1406 |
goto parse_command; |
| 1407 |
|
| 1402 |
case oPermitLocalCommand: |
1408 |
case oPermitLocalCommand: |
| 1403 |
intptr = &options->permit_local_command; |
1409 |
intptr = &options->permit_local_command; |
| 1404 |
goto parse_flag; |
1410 |
goto parse_flag; |
|
Lines 1708-1713
initialize_options(Options * options)
Link Here
|
| 1708 |
options->tun_remote = -1; |
1714 |
options->tun_remote = -1; |
| 1709 |
options->local_command = NULL; |
1715 |
options->local_command = NULL; |
| 1710 |
options->permit_local_command = -1; |
1716 |
options->permit_local_command = -1; |
|
|
1717 |
options->remote_command = NULL; |
| 1711 |
options->add_keys_to_agent = -1; |
1718 |
options->add_keys_to_agent = -1; |
| 1712 |
options->visual_host_key = -1; |
1719 |
options->visual_host_key = -1; |
| 1713 |
options->ip_qos_interactive = -1; |
1720 |
options->ip_qos_interactive = -1; |