version 1.89.2.4, 2002/05/17 00:03:24 |
version 1.89.2.5, 2002/06/22 07:23:17 |
|
|
options->challenge_response_authentication = -1; |
options->challenge_response_authentication = -1; |
options->permit_empty_passwd = -1; |
options->permit_empty_passwd = -1; |
options->use_login = -1; |
options->use_login = -1; |
|
options->compression = -1; |
options->allow_tcp_forwarding = -1; |
options->allow_tcp_forwarding = -1; |
options->num_allow_users = 0; |
options->num_allow_users = 0; |
options->num_deny_users = 0; |
options->num_deny_users = 0; |
|
|
options->permit_empty_passwd = 0; |
options->permit_empty_passwd = 0; |
if (options->use_login == -1) |
if (options->use_login == -1) |
options->use_login = 0; |
options->use_login = 0; |
|
if (options->compression == -1) |
|
options->compression = 1; |
if (options->allow_tcp_forwarding == -1) |
if (options->allow_tcp_forwarding == -1) |
options->allow_tcp_forwarding = 1; |
options->allow_tcp_forwarding = 1; |
if (options->gateway_ports == -1) |
if (options->gateway_ports == -1) |
|
|
if (options->authorized_keys_file == NULL) |
if (options->authorized_keys_file == NULL) |
options->authorized_keys_file = _PATH_SSH_USER_PERMITTED_KEYS; |
options->authorized_keys_file = _PATH_SSH_USER_PERMITTED_KEYS; |
|
|
/* Turn privilege separation _off_ by default */ |
/* Turn privilege separation on by default */ |
if (use_privsep == -1) |
if (use_privsep == -1) |
use_privsep = 0; |
use_privsep = 1; |
} |
} |
|
|
/* Keyword tokens. */ |
/* Keyword tokens. */ |
|
|
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sStrictModes, sEmptyPasswd, sKeepAlives, |
sStrictModes, sEmptyPasswd, sKeepAlives, |
sUseLogin, sAllowTcpForwarding, |
sUseLogin, sAllowTcpForwarding, sCompression, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, |
sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile, |
sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, |
sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups, |
|
|
{ "strictmodes", sStrictModes }, |
{ "strictmodes", sStrictModes }, |
{ "permitemptypasswords", sEmptyPasswd }, |
{ "permitemptypasswords", sEmptyPasswd }, |
{ "uselogin", sUseLogin }, |
{ "uselogin", sUseLogin }, |
|
{ "compression", sCompression }, |
{ "keepalive", sKeepAlives }, |
{ "keepalive", sKeepAlives }, |
{ "allowtcpforwarding", sAllowTcpForwarding }, |
{ "allowtcpforwarding", sAllowTcpForwarding }, |
{ "allowusers", sAllowUsers }, |
{ "allowusers", sAllowUsers }, |
|
|
|
|
case sUseLogin: |
case sUseLogin: |
intptr = &options->use_login; |
intptr = &options->use_login; |
|
goto parse_flag; |
|
|
|
case sCompression: |
|
intptr = &options->compression; |
goto parse_flag; |
goto parse_flag; |
|
|
case sGatewayPorts: |
case sGatewayPorts: |