version 1.51, 2000/12/19 23:17:57 |
version 1.52, 2000/12/27 12:30:19 |
|
|
oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication, |
oCompressionLevel, oKeepAlives, oNumberOfPasswordPrompts, oTISAuthentication, |
oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, |
oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, |
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication, |
oKbdInteractiveAuthentication, oKbdInteractiveDevices |
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias |
} OpCodes; |
} OpCodes; |
|
|
/* Textual representations of the tokens. */ |
/* Textual representations of the tokens. */ |
|
|
{ "identityfile", oIdentityFile }, |
{ "identityfile", oIdentityFile }, |
{ "identityfile2", oIdentityFile }, /* alias */ |
{ "identityfile2", oIdentityFile }, /* alias */ |
{ "hostname", oHostName }, |
{ "hostname", oHostName }, |
|
{ "hostkeyalias", oHostKeyAlias }, |
{ "proxycommand", oProxyCommand }, |
{ "proxycommand", oProxyCommand }, |
{ "port", oPort }, |
{ "port", oPort }, |
{ "cipher", oCipher }, |
{ "cipher", oCipher }, |
|
|
charptr = &options->hostname; |
charptr = &options->hostname; |
goto parse_string; |
goto parse_string; |
|
|
|
case oHostKeyAlias: |
|
charptr = &options->host_key_alias; |
|
goto parse_string; |
|
|
case oProxyCommand: |
case oProxyCommand: |
charptr = &options->proxy_command; |
charptr = &options->proxy_command; |
string = xstrdup(""); |
string = xstrdup(""); |
|
|
options->protocol = SSH_PROTO_UNKNOWN; |
options->protocol = SSH_PROTO_UNKNOWN; |
options->num_identity_files = 0; |
options->num_identity_files = 0; |
options->hostname = NULL; |
options->hostname = NULL; |
|
options->host_key_alias = NULL; |
options->proxy_command = NULL; |
options->proxy_command = NULL; |
options->user = NULL; |
options->user = NULL; |
options->escape_char = -1; |
options->escape_char = -1; |
|
|
/* options->proxy_command should not be set by default */ |
/* options->proxy_command should not be set by default */ |
/* options->user will be set in the main program if appropriate */ |
/* options->user will be set in the main program if appropriate */ |
/* options->hostname will be set in the main program if appropriate */ |
/* options->hostname will be set in the main program if appropriate */ |
|
/* options->host_key_alias should not be set by default */ |
} |
} |