version 1.84, 2001/07/25 14:35:18 |
version 1.85, 2001/07/31 09:28:44 |
|
|
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, |
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, |
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, |
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, |
oHostKeyAlgorithms, oBindAddress |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice |
} OpCodes; |
} OpCodes; |
|
|
/* Textual representations of the tokens. */ |
/* Textual representations of the tokens. */ |
|
|
{ "preferredauthentications", oPreferredAuthentications }, |
{ "preferredauthentications", oPreferredAuthentications }, |
{ "hostkeyalgorithms", oHostKeyAlgorithms }, |
{ "hostkeyalgorithms", oHostKeyAlgorithms }, |
{ "bindaddress", oBindAddress }, |
{ "bindaddress", oBindAddress }, |
|
{ "smartcarddevice", oSmartcardDevice }, |
{ NULL, 0 } |
{ NULL, 0 } |
}; |
}; |
|
|
|
|
charptr = &options->bind_address; |
charptr = &options->bind_address; |
goto parse_string; |
goto parse_string; |
|
|
|
case oSmartcardDevice: |
|
intptr = &options->smartcard_device; |
|
goto parse_int; |
|
|
case oProxyCommand: |
case oProxyCommand: |
charptr = &options->proxy_command; |
charptr = &options->proxy_command; |
string = xstrdup(""); |
string = xstrdup(""); |
|
|
options->log_level = (LogLevel) - 1; |
options->log_level = (LogLevel) - 1; |
options->preferred_authentications = NULL; |
options->preferred_authentications = NULL; |
options->bind_address = NULL; |
options->bind_address = NULL; |
|
options->smartcard_device = -1; |
} |
} |
|
|
/* |
/* |