version 1.74, 2001/04/17 19:34:25 |
version 1.75, 2001/05/03 15:45:15 |
|
|
if (!options.use_login) { |
if (!options.use_login) { |
/* ignore _PATH_SSH_USER_RC for subsystems */ |
/* ignore _PATH_SSH_USER_RC for subsystems */ |
if (!s->is_subsystem && (stat(_PATH_SSH_USER_RC, &st) >= 0)) { |
if (!s->is_subsystem && (stat(_PATH_SSH_USER_RC, &st) >= 0)) { |
|
snprintf(cmd, sizeof cmd, "%s -c '%s %s'", |
|
shell, _PATH_BSHELL, _PATH_SSH_USER_RC); |
if (debug_flag) |
if (debug_flag) |
fprintf(stderr, "Running %s %s\n", _PATH_BSHELL, |
fprintf(stderr, "Running %s\n", cmd); |
_PATH_SSH_USER_RC); |
f = popen(cmd, "w"); |
f = popen(_PATH_BSHELL " " _PATH_SSH_USER_RC, "w"); |
|
if (f) { |
if (f) { |
if (do_xauth) |
if (do_xauth) |
fprintf(f, "%s %s\n", s->auth_proto, |
fprintf(f, "%s %s\n", s->auth_proto, |