version 1.270, 2015/05/21 06:43:30 |
version 1.271, 2015/05/22 03:50:02 |
|
|
options->kerberos_get_afs_token = -1; |
options->kerberos_get_afs_token = -1; |
options->gss_authentication=-1; |
options->gss_authentication=-1; |
options->gss_cleanup_creds = -1; |
options->gss_cleanup_creds = -1; |
|
options->gss_strict_acceptor = -1; |
options->password_authentication = -1; |
options->password_authentication = -1; |
options->kbd_interactive_authentication = -1; |
options->kbd_interactive_authentication = -1; |
options->challenge_response_authentication = -1; |
options->challenge_response_authentication = -1; |
|
|
options->gss_authentication = 0; |
options->gss_authentication = 0; |
if (options->gss_cleanup_creds == -1) |
if (options->gss_cleanup_creds == -1) |
options->gss_cleanup_creds = 1; |
options->gss_cleanup_creds = 1; |
|
if (options->gss_strict_acceptor == -1) |
|
options->gss_strict_acceptor = 0; |
if (options->password_authentication == -1) |
if (options->password_authentication == -1) |
options->password_authentication = 1; |
options->password_authentication = 1; |
if (options->kbd_interactive_authentication == -1) |
if (options->kbd_interactive_authentication == -1) |
|
|
sBanner, sUseDNS, sHostbasedAuthentication, |
sBanner, sUseDNS, sHostbasedAuthentication, |
sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, |
sHostbasedUsesNameFromPacketOnly, sHostbasedAcceptedKeyTypes, |
sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, |
sClientAliveInterval, sClientAliveCountMax, sAuthorizedKeysFile, |
sGssAuthentication, sGssCleanupCreds, sAcceptEnv, sPermitTunnel, |
sGssAuthentication, sGssCleanupCreds, sGssStrictAcceptor, |
|
sAcceptEnv, sPermitTunnel, |
sMatch, sPermitOpen, sForceCommand, sChrootDirectory, |
sMatch, sPermitOpen, sForceCommand, sChrootDirectory, |
sUsePrivilegeSeparation, sAllowAgentForwarding, |
sUsePrivilegeSeparation, sAllowAgentForwarding, |
sHostCertificate, |
sHostCertificate, |
|
|
#ifdef GSSAPI |
#ifdef GSSAPI |
{ "gssapiauthentication", sGssAuthentication, SSHCFG_ALL }, |
{ "gssapiauthentication", sGssAuthentication, SSHCFG_ALL }, |
{ "gssapicleanupcredentials", sGssCleanupCreds, SSHCFG_GLOBAL }, |
{ "gssapicleanupcredentials", sGssCleanupCreds, SSHCFG_GLOBAL }, |
|
{ "gssapistrictacceptorcheck", sGssStrictAcceptor, SSHCFG_GLOBAL }, |
#else |
#else |
{ "gssapiauthentication", sUnsupported, SSHCFG_ALL }, |
{ "gssapiauthentication", sUnsupported, SSHCFG_ALL }, |
{ "gssapicleanupcredentials", sUnsupported, SSHCFG_GLOBAL }, |
{ "gssapicleanupcredentials", sUnsupported, SSHCFG_GLOBAL }, |
|
{ "gssapistrictacceptorcheck", sUnsupported, SSHCFG_GLOBAL }, |
#endif |
#endif |
{ "passwordauthentication", sPasswordAuthentication, SSHCFG_ALL }, |
{ "passwordauthentication", sPasswordAuthentication, SSHCFG_ALL }, |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication, SSHCFG_ALL }, |
{ "kbdinteractiveauthentication", sKbdInteractiveAuthentication, SSHCFG_ALL }, |
|
|
|
|
case sGssCleanupCreds: |
case sGssCleanupCreds: |
intptr = &options->gss_cleanup_creds; |
intptr = &options->gss_cleanup_creds; |
|
goto parse_flag; |
|
|
|
case sGssStrictAcceptor: |
|
intptr = &options->gss_strict_acceptor; |
goto parse_flag; |
goto parse_flag; |
|
|
case sPasswordAuthentication: |
case sPasswordAuthentication: |