version 1.106, 2003/04/09 12:00:37 |
version 1.107, 2003/05/14 18:16:20 |
|
|
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, |
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
oEnableSSHKeysign, oRekeyLimit, |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, |
oDeprecated |
oDeprecated |
} OpCodes; |
} OpCodes; |
|
|
|
|
{ "smartcarddevice", oSmartcardDevice }, |
{ "smartcarddevice", oSmartcardDevice }, |
{ "clearallforwardings", oClearAllForwardings }, |
{ "clearallforwardings", oClearAllForwardings }, |
{ "enablesshkeysign", oEnableSSHKeysign }, |
{ "enablesshkeysign", oEnableSSHKeysign }, |
|
{ "verifyhostkeydns", oVerifyHostKeyDNS }, |
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
{ "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
{ "rekeylimit", oRekeyLimit }, |
{ "rekeylimit", oRekeyLimit }, |
{ NULL, oBadOption } |
{ NULL, oBadOption } |
|
|
intptr = &options->check_host_ip; |
intptr = &options->check_host_ip; |
goto parse_flag; |
goto parse_flag; |
|
|
|
case oVerifyHostKeyDNS: |
|
intptr = &options->verify_host_key_dns; |
|
goto parse_flag; |
|
|
case oStrictHostKeyChecking: |
case oStrictHostKeyChecking: |
intptr = &options->strict_host_key_checking; |
intptr = &options->strict_host_key_checking; |
arg = strdelim(&s); |
arg = strdelim(&s); |
|
|
options->enable_ssh_keysign = - 1; |
options->enable_ssh_keysign = - 1; |
options->no_host_authentication_for_localhost = - 1; |
options->no_host_authentication_for_localhost = - 1; |
options->rekey_limit = - 1; |
options->rekey_limit = - 1; |
|
options->verify_host_key_dns = -1; |
} |
} |
|
|
/* |
/* |
|
|
options->enable_ssh_keysign = 0; |
options->enable_ssh_keysign = 0; |
if (options->rekey_limit == -1) |
if (options->rekey_limit == -1) |
options->rekey_limit = 0; |
options->rekey_limit = 0; |
|
if (options->verify_host_key_dns == -1) |
|
options->verify_host_key_dns = 0; |
/* 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 */ |