version 1.369, 2022/09/17 10:33:18 |
version 1.370, 2022/11/28 01:37:36 |
|
|
oFingerprintHash, oUpdateHostkeys, oHostbasedAcceptedAlgorithms, |
oFingerprintHash, oUpdateHostkeys, oHostbasedAcceptedAlgorithms, |
oPubkeyAcceptedAlgorithms, oCASignatureAlgorithms, oProxyJump, |
oPubkeyAcceptedAlgorithms, oCASignatureAlgorithms, oProxyJump, |
oSecurityKeyProvider, oKnownHostsCommand, oRequiredRSASize, |
oSecurityKeyProvider, oKnownHostsCommand, oRequiredRSASize, |
|
oEnableEscapeCommandline, |
oIgnore, oIgnoredUnknownOption, oDeprecated, oUnsupported |
oIgnore, oIgnoredUnknownOption, oDeprecated, oUnsupported |
} OpCodes; |
} OpCodes; |
|
|
|
|
{ "securitykeyprovider", oSecurityKeyProvider }, |
{ "securitykeyprovider", oSecurityKeyProvider }, |
{ "knownhostscommand", oKnownHostsCommand }, |
{ "knownhostscommand", oKnownHostsCommand }, |
{ "requiredrsasize", oRequiredRSASize }, |
{ "requiredrsasize", oRequiredRSASize }, |
|
{ "enableescapecommandline", oEnableEscapeCommandline }, |
|
|
{ NULL, oBadOption } |
{ NULL, oBadOption } |
}; |
}; |
|
|
*charptr = xstrdup(arg); |
*charptr = xstrdup(arg); |
break; |
break; |
|
|
|
case oEnableEscapeCommandline: |
|
intptr = &options->enable_escape_commandline; |
|
goto parse_flag; |
|
|
case oRequiredRSASize: |
case oRequiredRSASize: |
intptr = &options->required_rsa_size; |
intptr = &options->required_rsa_size; |
goto parse_int; |
goto parse_int; |
|
|
options->pubkey_accepted_algos = NULL; |
options->pubkey_accepted_algos = NULL; |
options->known_hosts_command = NULL; |
options->known_hosts_command = NULL; |
options->required_rsa_size = -1; |
options->required_rsa_size = -1; |
|
options->enable_escape_commandline = -1; |
} |
} |
|
|
/* |
/* |
|
|
options->sk_provider = xstrdup("internal"); |
options->sk_provider = xstrdup("internal"); |
if (options->required_rsa_size == -1) |
if (options->required_rsa_size == -1) |
options->required_rsa_size = SSH_RSA_MINIMUM_MODULUS_SIZE; |
options->required_rsa_size = SSH_RSA_MINIMUM_MODULUS_SIZE; |
|
if (options->enable_escape_commandline == -1) |
|
options->enable_escape_commandline = 0; |
|
|
/* Expand KEX name lists */ |
/* Expand KEX name lists */ |
all_cipher = cipher_alg_list(',', 0); |
all_cipher = cipher_alg_list(',', 0); |
|
|
dump_cfg_fmtint(oVerifyHostKeyDNS, o->verify_host_key_dns); |
dump_cfg_fmtint(oVerifyHostKeyDNS, o->verify_host_key_dns); |
dump_cfg_fmtint(oVisualHostKey, o->visual_host_key); |
dump_cfg_fmtint(oVisualHostKey, o->visual_host_key); |
dump_cfg_fmtint(oUpdateHostkeys, o->update_hostkeys); |
dump_cfg_fmtint(oUpdateHostkeys, o->update_hostkeys); |
|
dump_cfg_fmtint(oEnableEscapeCommandline, o->enable_escape_commandline); |
|
|
/* Integer options */ |
/* Integer options */ |
dump_cfg_int(oCanonicalizeMaxDots, o->canonicalize_max_dots); |
dump_cfg_int(oCanonicalizeMaxDots, o->canonicalize_max_dots); |