version 1.98, 2002/01/22 02:52:41 |
version 1.99, 2002/01/27 14:57:46 |
|
|
options->print_lastlog = -1; |
options->print_lastlog = -1; |
options->x11_forwarding = -1; |
options->x11_forwarding = -1; |
options->x11_display_offset = -1; |
options->x11_display_offset = -1; |
|
options->x11_use_localhost = -1; |
options->xauth_location = NULL; |
options->xauth_location = NULL; |
options->strict_modes = -1; |
options->strict_modes = -1; |
options->keepalives = -1; |
options->keepalives = -1; |
|
|
options->x11_forwarding = 0; |
options->x11_forwarding = 0; |
if (options->x11_display_offset == -1) |
if (options->x11_display_offset == -1) |
options->x11_display_offset = 10; |
options->x11_display_offset = 10; |
|
if (options->x11_use_localhost == -1) |
|
options->x11_use_localhost = 1; |
if (options->xauth_location == NULL) |
if (options->xauth_location == NULL) |
options->xauth_location = _PATH_XAUTH; |
options->xauth_location = _PATH_XAUTH; |
if (options->strict_modes == -1) |
if (options->strict_modes == -1) |
|
|
sChallengeResponseAuthentication, |
sChallengeResponseAuthentication, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPasswordAuthentication, sKbdInteractiveAuthentication, sListenAddress, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sPrintMotd, sPrintLastLog, sIgnoreRhosts, |
sX11Forwarding, sX11DisplayOffset, |
sX11Forwarding, sX11DisplayOffset, sX11UseLocalhost, |
sStrictModes, sEmptyPasswd, sKeepAlives, |
sStrictModes, sEmptyPasswd, sKeepAlives, |
sUseLogin, sAllowTcpForwarding, |
sUseLogin, sAllowTcpForwarding, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, |
|
|
{ "ignoreuserknownhosts", sIgnoreUserKnownHosts }, |
{ "ignoreuserknownhosts", sIgnoreUserKnownHosts }, |
{ "x11forwarding", sX11Forwarding }, |
{ "x11forwarding", sX11Forwarding }, |
{ "x11displayoffset", sX11DisplayOffset }, |
{ "x11displayoffset", sX11DisplayOffset }, |
|
{ "x11uselocalhost", sX11UseLocalhost }, |
{ "xauthlocation", sXAuthLocation }, |
{ "xauthlocation", sXAuthLocation }, |
{ "strictmodes", sStrictModes }, |
{ "strictmodes", sStrictModes }, |
{ "permitemptypasswords", sEmptyPasswd }, |
{ "permitemptypasswords", sEmptyPasswd }, |
|
|
case sX11DisplayOffset: |
case sX11DisplayOffset: |
intptr = &options->x11_display_offset; |
intptr = &options->x11_display_offset; |
goto parse_int; |
goto parse_int; |
|
|
|
case sX11UseLocalhost: |
|
intptr = &options->x11_use_localhost; |
|
goto parse_flag; |
|
|
case sXAuthLocation: |
case sXAuthLocation: |
charptr = &options->xauth_location; |
charptr = &options->xauth_location; |