|
Lines 138-143
Link Here
|
| 138 |
oGssTrustDns, oGssKeyEx, oGssClientIdentity, oGssRenewalRekey, |
138 |
oGssTrustDns, oGssKeyEx, oGssClientIdentity, oGssRenewalRekey, |
| 139 |
oGssServerIdentity, |
139 |
oGssServerIdentity, |
| 140 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
140 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
|
|
141 |
oIdentityPersist, oIdentityPersistConfirm, |
| 141 |
oSendEnv, oControlPath, oControlMaster, oControlPersist, |
142 |
oSendEnv, oControlPath, oControlMaster, oControlPersist, |
| 142 |
oHashKnownHosts, |
143 |
oHashKnownHosts, |
| 143 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
144 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
|
Lines 245-250
Link Here
|
| 245 |
{ "addressfamily", oAddressFamily }, |
246 |
{ "addressfamily", oAddressFamily }, |
| 246 |
{ "serveraliveinterval", oServerAliveInterval }, |
247 |
{ "serveraliveinterval", oServerAliveInterval }, |
| 247 |
{ "serveralivecountmax", oServerAliveCountMax }, |
248 |
{ "serveralivecountmax", oServerAliveCountMax }, |
|
|
249 |
{ "identitypersist", oIdentityPersist }, |
| 250 |
{ "identitypersistconfirm", oIdentityPersistConfirm }, |
| 248 |
{ "sendenv", oSendEnv }, |
251 |
{ "sendenv", oSendEnv }, |
| 249 |
{ "controlpath", oControlPath }, |
252 |
{ "controlpath", oControlPath }, |
| 250 |
{ "controlmaster", oControlMaster }, |
253 |
{ "controlmaster", oControlMaster }, |
|
Lines 953-958
Link Here
|
| 953 |
intptr = &options->server_alive_count_max; |
956 |
intptr = &options->server_alive_count_max; |
| 954 |
goto parse_int; |
957 |
goto parse_int; |
| 955 |
|
958 |
|
|
|
959 |
case oIdentityPersist: |
| 960 |
/* no/false/yes/true, or a time spec */ |
| 961 |
intptr = &options->identity_persist; |
| 962 |
arg = strdelim(&s); |
| 963 |
if (!arg || *arg == '\0') |
| 964 |
fatal("%.200s line %d: Missing IdentityPersist" |
| 965 |
" argument.", filename, linenum); |
| 966 |
value = 0; |
| 967 |
value2 = 0; /* lifetime */ |
| 968 |
if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) |
| 969 |
value = 0; |
| 970 |
else if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) |
| 971 |
value = 1; |
| 972 |
else if ((value2 = convtime(arg)) >= 0) |
| 973 |
value = 1; |
| 974 |
else |
| 975 |
fatal("%.200s line %d: Bad IdentityPersist argument.", |
| 976 |
filename, linenum); |
| 977 |
if (*activep && *intptr == -1) { |
| 978 |
*intptr = value; |
| 979 |
options->identity_persist_lifetime = value2; |
| 980 |
} |
| 981 |
break; |
| 982 |
case oIdentityPersistConfirm: |
| 983 |
intptr = &options->identity_persist_confirm; |
| 984 |
goto parse_flag; |
| 985 |
|
| 956 |
case oSendEnv: |
986 |
case oSendEnv: |
| 957 |
while ((arg = strdelim(&s)) != NULL && *arg != '\0') { |
987 |
while ((arg = strdelim(&s)) != NULL && *arg != '\0') { |
| 958 |
if (strchr(arg, '=') != NULL) |
988 |
if (strchr(arg, '=') != NULL) |
|
Lines 1265-1270
Link Here
|
| 1265 |
options->verify_host_key_dns = -1; |
1295 |
options->verify_host_key_dns = -1; |
| 1266 |
options->server_alive_interval = -1; |
1296 |
options->server_alive_interval = -1; |
| 1267 |
options->server_alive_count_max = -1; |
1297 |
options->server_alive_count_max = -1; |
|
|
1298 |
options->identity_persist = -1; |
| 1299 |
options->identity_persist_lifetime = -1; |
| 1300 |
options->identity_persist_confirm = -1; |
| 1268 |
options->num_send_env = 0; |
1301 |
options->num_send_env = 0; |
| 1269 |
options->control_path = NULL; |
1302 |
options->control_path = NULL; |
| 1270 |
options->control_master = -1; |
1303 |
options->control_master = -1; |
|
Lines 1419-1424
Link Here
|
| 1419 |
} |
1452 |
} |
| 1420 |
if (options->server_alive_count_max == -1) |
1453 |
if (options->server_alive_count_max == -1) |
| 1421 |
options->server_alive_count_max = 3; |
1454 |
options->server_alive_count_max = 3; |
|
|
1455 |
if (options->identity_persist == -1) |
| 1456 |
options->identity_persist = 0; |
| 1457 |
if (options->identity_persist_lifetime == -1) |
| 1458 |
options->identity_persist_lifetime = 0; |
| 1459 |
if (options->identity_persist_confirm == -1) |
| 1460 |
options->identity_persist_confirm = 0; |
| 1422 |
if (options->control_master == -1) |
1461 |
if (options->control_master == -1) |
| 1423 |
options->control_master = 0; |
1462 |
options->control_master = 0; |
| 1424 |
if (options->control_persist == -1) { |
1463 |
if (options->control_persist == -1) { |