|
Lines 138-143
Link Here
|
| 138 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
138 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
| 139 |
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication, |
139 |
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication, |
| 140 |
oKexAlgorithms, oIPQoS, oRequestTTY, oIgnoreUnknown, oProxyUseFdpass, |
140 |
oKexAlgorithms, oIPQoS, oRequestTTY, oIgnoreUnknown, oProxyUseFdpass, |
|
|
141 |
oRemoteCommand, oPermitRemoteCommand, |
| 141 |
oIgnoredUnknownOption, oDeprecated, oUnsupported |
142 |
oIgnoredUnknownOption, oDeprecated, oUnsupported |
| 142 |
} OpCodes; |
143 |
} OpCodes; |
| 143 |
|
144 |
|
|
Lines 238-243
Link Here
|
| 238 |
{ "tunneldevice", oTunnelDevice }, |
239 |
{ "tunneldevice", oTunnelDevice }, |
| 239 |
{ "localcommand", oLocalCommand }, |
240 |
{ "localcommand", oLocalCommand }, |
| 240 |
{ "permitlocalcommand", oPermitLocalCommand }, |
241 |
{ "permitlocalcommand", oPermitLocalCommand }, |
|
|
242 |
{ "permitremotecommand", oPermitRemoteCommand }, |
| 241 |
{ "visualhostkey", oVisualHostKey }, |
243 |
{ "visualhostkey", oVisualHostKey }, |
| 242 |
{ "useroaming", oUseRoaming }, |
244 |
{ "useroaming", oUseRoaming }, |
| 243 |
#ifdef JPAKE |
245 |
#ifdef JPAKE |
|
Lines 251-256
Link Here
|
| 251 |
{ "requesttty", oRequestTTY }, |
253 |
{ "requesttty", oRequestTTY }, |
| 252 |
{ "proxyusefdpass", oProxyUseFdpass }, |
254 |
{ "proxyusefdpass", oProxyUseFdpass }, |
| 253 |
{ "ignoreunknown", oIgnoreUnknown }, |
255 |
{ "ignoreunknown", oIgnoreUnknown }, |
|
|
256 |
{ "remotecommand", oRemoteCommand }, |
| 254 |
|
257 |
|
| 255 |
{ NULL, oBadOption } |
258 |
{ NULL, oBadOption } |
| 256 |
}; |
259 |
}; |
|
Lines 1020-1029
Link Here
|
| 1020 |
charptr = &options->local_command; |
1023 |
charptr = &options->local_command; |
| 1021 |
goto parse_command; |
1024 |
goto parse_command; |
| 1022 |
|
1025 |
|
|
|
1026 |
case oRemoteCommand: |
| 1027 |
charptr = &options->remote_command; |
| 1028 |
goto parse_command; |
| 1029 |
|
| 1023 |
case oPermitLocalCommand: |
1030 |
case oPermitLocalCommand: |
| 1024 |
intptr = &options->permit_local_command; |
1031 |
intptr = &options->permit_local_command; |
| 1025 |
goto parse_flag; |
1032 |
goto parse_flag; |
| 1026 |
|
1033 |
|
|
|
1034 |
case oPermitRemoteCommand: |
| 1035 |
intptr = &options->permit_remote_command; |
| 1036 |
goto parse_flag; |
| 1037 |
|
| 1027 |
case oVisualHostKey: |
1038 |
case oVisualHostKey: |
| 1028 |
intptr = &options->visual_host_key; |
1039 |
intptr = &options->visual_host_key; |
| 1029 |
goto parse_flag; |
1040 |
goto parse_flag; |
|
Lines 1232-1237
Link Here
|
| 1232 |
options->tun_remote = -1; |
1243 |
options->tun_remote = -1; |
| 1233 |
options->local_command = NULL; |
1244 |
options->local_command = NULL; |
| 1234 |
options->permit_local_command = -1; |
1245 |
options->permit_local_command = -1; |
|
|
1246 |
options->remote_command = NULL; |
| 1247 |
options->permit_remote_command = -1; |
| 1235 |
options->use_roaming = -1; |
1248 |
options->use_roaming = -1; |
| 1236 |
options->visual_host_key = -1; |
1249 |
options->visual_host_key = -1; |
| 1237 |
options->zero_knowledge_password_authentication = -1; |
1250 |
options->zero_knowledge_password_authentication = -1; |
|
Lines 1379-1384
Link Here
|
| 1379 |
options->tun_remote = SSH_TUNID_ANY; |
1392 |
options->tun_remote = SSH_TUNID_ANY; |
| 1380 |
if (options->permit_local_command == -1) |
1393 |
if (options->permit_local_command == -1) |
| 1381 |
options->permit_local_command = 0; |
1394 |
options->permit_local_command = 0; |
|
|
1395 |
if (options->permit_remote_command == -1) |
| 1396 |
options->permit_remote_command = 0; |
| 1382 |
if (options->use_roaming == -1) |
1397 |
if (options->use_roaming == -1) |
| 1383 |
options->use_roaming = 1; |
1398 |
options->use_roaming = 1; |
| 1384 |
if (options->visual_host_key == -1) |
1399 |
if (options->visual_host_key == -1) |