version 1.293, 2018/07/18 11:34:04 |
version 1.294, 2018/07/19 10:28:47 |
|
|
{ "userknownhostsfile2", oDeprecated }, |
{ "userknownhostsfile2", oDeprecated }, |
{ "useroaming", oDeprecated }, |
{ "useroaming", oDeprecated }, |
{ "usersh", oDeprecated }, |
{ "usersh", oDeprecated }, |
|
{ "useprivilegedport", oDeprecated }, |
|
|
/* Unsupported options */ |
/* Unsupported options */ |
{ "afstokenpassing", oUnsupported }, |
{ "afstokenpassing", oUnsupported }, |
|
|
{ "exitonforwardfailure", oExitOnForwardFailure }, |
{ "exitonforwardfailure", oExitOnForwardFailure }, |
{ "xauthlocation", oXAuthLocation }, |
{ "xauthlocation", oXAuthLocation }, |
{ "gatewayports", oGatewayPorts }, |
{ "gatewayports", oGatewayPorts }, |
{ "useprivilegedport", oUsePrivilegedPort }, |
|
{ "passwordauthentication", oPasswordAuthentication }, |
{ "passwordauthentication", oPasswordAuthentication }, |
{ "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, |
{ "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, |
{ "kbdinteractivedevices", oKbdInteractiveDevices }, |
{ "kbdinteractivedevices", oKbdInteractiveDevices }, |
|
|
intptr = &options->exit_on_forward_failure; |
intptr = &options->exit_on_forward_failure; |
goto parse_flag; |
goto parse_flag; |
|
|
case oUsePrivilegedPort: |
|
intptr = &options->use_privileged_port; |
|
goto parse_flag; |
|
|
|
case oPasswordAuthentication: |
case oPasswordAuthentication: |
intptr = &options->password_authentication; |
intptr = &options->password_authentication; |
goto parse_flag; |
goto parse_flag; |
|
|
options->fwd_opts.gateway_ports = -1; |
options->fwd_opts.gateway_ports = -1; |
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1; |
options->fwd_opts.streamlocal_bind_mask = (mode_t)-1; |
options->fwd_opts.streamlocal_bind_unlink = -1; |
options->fwd_opts.streamlocal_bind_unlink = -1; |
options->use_privileged_port = -1; |
|
options->pubkey_authentication = -1; |
options->pubkey_authentication = -1; |
options->challenge_response_authentication = -1; |
options->challenge_response_authentication = -1; |
options->gss_authentication = -1; |
options->gss_authentication = -1; |
|
|
options->fwd_opts.streamlocal_bind_mask = 0177; |
options->fwd_opts.streamlocal_bind_mask = 0177; |
if (options->fwd_opts.streamlocal_bind_unlink == -1) |
if (options->fwd_opts.streamlocal_bind_unlink == -1) |
options->fwd_opts.streamlocal_bind_unlink = 0; |
options->fwd_opts.streamlocal_bind_unlink = 0; |
if (options->use_privileged_port == -1) |
|
options->use_privileged_port = 0; |
|
if (options->pubkey_authentication == -1) |
if (options->pubkey_authentication == -1) |
options->pubkey_authentication = 1; |
options->pubkey_authentication = 1; |
if (options->challenge_response_authentication == -1) |
if (options->challenge_response_authentication == -1) |
|
|
dump_cfg_fmtint(oStrictHostKeyChecking, o->strict_host_key_checking); |
dump_cfg_fmtint(oStrictHostKeyChecking, o->strict_host_key_checking); |
dump_cfg_fmtint(oTCPKeepAlive, o->tcp_keep_alive); |
dump_cfg_fmtint(oTCPKeepAlive, o->tcp_keep_alive); |
dump_cfg_fmtint(oTunnel, o->tun_open); |
dump_cfg_fmtint(oTunnel, o->tun_open); |
dump_cfg_fmtint(oUsePrivilegedPort, o->use_privileged_port); |
|
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); |