|
Lines 128-134
Link Here
|
| 128 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
128 |
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
| 129 |
oAddressFamily, oGssAuthentication, oGssDelegateCreds, |
129 |
oAddressFamily, oGssAuthentication, oGssDelegateCreds, |
| 130 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
130 |
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
| 131 |
oSendEnv, oControlPath, oControlMaster, oHashKnownHosts, |
131 |
oSendEnv, oControlPath, oControlMaster, oControlPersist, |
|
|
132 |
oHashKnownHosts, |
| 132 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
133 |
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, |
| 133 |
oVisualHostKey, |
134 |
oVisualHostKey, |
| 134 |
oDeprecated, oUnsupported |
135 |
oDeprecated, oUnsupported |
|
Lines 222-227
Link Here
|
| 222 |
{ "sendenv", oSendEnv }, |
223 |
{ "sendenv", oSendEnv }, |
| 223 |
{ "controlpath", oControlPath }, |
224 |
{ "controlpath", oControlPath }, |
| 224 |
{ "controlmaster", oControlMaster }, |
225 |
{ "controlmaster", oControlMaster }, |
|
|
226 |
{ "controlpersist", oControlPersist }, |
| 225 |
{ "hashknownhosts", oHashKnownHosts }, |
227 |
{ "hashknownhosts", oHashKnownHosts }, |
| 226 |
{ "tunnel", oTunnel }, |
228 |
{ "tunnel", oTunnel }, |
| 227 |
{ "tunneldevice", oTunnelDevice }, |
229 |
{ "tunneldevice", oTunnelDevice }, |
|
Lines 870-875
Link Here
|
| 870 |
*intptr = value; |
872 |
*intptr = value; |
| 871 |
break; |
873 |
break; |
| 872 |
|
874 |
|
|
|
875 |
case oControlPersist: |
| 876 |
/* no/false/yes/true, or a time spec */ |
| 877 |
intptr = &options->control_persist; |
| 878 |
arg = strdelim(&s); |
| 879 |
if (!arg || *arg == '\0') |
| 880 |
fatal("%.200s line %d: Missing ControlPersist" |
| 881 |
" argument.", filename, linenum); |
| 882 |
value = 0; /* To avoid compiler warning... */ |
| 883 |
value2 = 0; /* timeout */ |
| 884 |
if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) |
| 885 |
value = 0; |
| 886 |
else if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) |
| 887 |
value = 1; |
| 888 |
else if ((value2 = convtime(arg)) > 0) |
| 889 |
value = 1; |
| 890 |
else |
| 891 |
fatal("%.200s line %d: Bad ControlPersist argument.", |
| 892 |
filename, linenum); |
| 893 |
if (*activep && *intptr == -1) { |
| 894 |
*intptr = value; |
| 895 |
options->control_persist_timeout = value2; |
| 896 |
} |
| 897 |
break; |
| 898 |
|
| 873 |
case oHashKnownHosts: |
899 |
case oHashKnownHosts: |
| 874 |
intptr = &options->hash_known_hosts; |
900 |
intptr = &options->hash_known_hosts; |
| 875 |
goto parse_flag; |
901 |
goto parse_flag; |
|
Lines 1065-1070
Link Here
|
| 1065 |
options->num_send_env = 0; |
1091 |
options->num_send_env = 0; |
| 1066 |
options->control_path = NULL; |
1092 |
options->control_path = NULL; |
| 1067 |
options->control_master = -1; |
1093 |
options->control_master = -1; |
|
|
1094 |
options->control_persist = -1; |
| 1095 |
options->control_persist_timeout = 0; |
| 1068 |
options->hash_known_hosts = -1; |
1096 |
options->hash_known_hosts = -1; |
| 1069 |
options->tun_open = -1; |
1097 |
options->tun_open = -1; |
| 1070 |
options->tun_local = -1; |
1098 |
options->tun_local = -1; |
|
Lines 1196-1201
Link Here
|
| 1196 |
options->server_alive_count_max = 3; |
1224 |
options->server_alive_count_max = 3; |
| 1197 |
if (options->control_master == -1) |
1225 |
if (options->control_master == -1) |
| 1198 |
options->control_master = 0; |
1226 |
options->control_master = 0; |
|
|
1227 |
if (options->control_persist == -1) { |
| 1228 |
options->control_persist = 0; |
| 1229 |
options->control_persist_timeout = 0; |
| 1230 |
} |
| 1199 |
if (options->hash_known_hosts == -1) |
1231 |
if (options->hash_known_hosts == -1) |
| 1200 |
options->hash_known_hosts = 0; |
1232 |
options->hash_known_hosts = 0; |
| 1201 |
if (options->tun_open == -1) |
1233 |
if (options->tun_open == -1) |