version 1.210, 2010/09/01 15:21:35 |
version 1.211, 2010/09/22 05:01:29 |
|
|
options->num_deny_groups = 0; |
options->num_deny_groups = 0; |
options->ciphers = NULL; |
options->ciphers = NULL; |
options->macs = NULL; |
options->macs = NULL; |
|
options->kex_algorithms = NULL; |
options->protocol = SSH_PROTO_UNKNOWN; |
options->protocol = SSH_PROTO_UNKNOWN; |
options->gateway_ports = -1; |
options->gateway_ports = -1; |
options->num_subsystems = 0; |
options->num_subsystems = 0; |
|
|
sUsePrivilegeSeparation, sAllowAgentForwarding, |
sUsePrivilegeSeparation, sAllowAgentForwarding, |
sZeroKnowledgePasswordAuthentication, sHostCertificate, |
sZeroKnowledgePasswordAuthentication, sHostCertificate, |
sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile, |
sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile, |
|
sKexAlgorithms, |
sDeprecated, sUnsupported |
sDeprecated, sUnsupported |
} ServerOpCodes; |
} ServerOpCodes; |
|
|
|
|
{ "revokedkeys", sRevokedKeys, SSHCFG_ALL }, |
{ "revokedkeys", sRevokedKeys, SSHCFG_ALL }, |
{ "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL }, |
{ "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL }, |
{ "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL }, |
{ "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL }, |
|
{ "kexalgorithms", sKexAlgorithms, SSHCFG_GLOBAL }, |
{ NULL, sBadOption, 0 } |
{ NULL, sBadOption, 0 } |
}; |
}; |
|
|
|
|
filename, linenum, arg ? arg : "<NONE>"); |
filename, linenum, arg ? arg : "<NONE>"); |
if (options->macs == NULL) |
if (options->macs == NULL) |
options->macs = xstrdup(arg); |
options->macs = xstrdup(arg); |
|
break; |
|
|
|
case sKexAlgorithms: |
|
arg = strdelim(&cp); |
|
if (!arg || *arg == '\0') |
|
fatal("%s line %d: Missing argument.", |
|
filename, linenum); |
|
if (!kex_names_valid(arg)) |
|
fatal("%s line %d: Bad SSH2 KexAlgorithms '%s'.", |
|
filename, linenum, arg ? arg : "<NONE>"); |
|
if (options->kex_algorithms == NULL) |
|
options->kex_algorithms = xstrdup(arg); |
break; |
break; |
|
|
case sProtocol: |
case sProtocol: |