diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1071,6 +1071,13 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell) | |||
1071 | child_set_env(&env, &envsize, "TERM", s->term); | 1071 | child_set_env(&env, &envsize, "TERM", s->term); |
1072 | if (s->display) | 1072 | if (s->display) |
1073 | child_set_env(&env, &envsize, "DISPLAY", s->display); | 1073 | child_set_env(&env, &envsize, "DISPLAY", s->display); |
1074 | if (wildcard_match) { | ||
1075 | child_set_env(&env, &envsize, "SSH_REMOTE_KEY", | ||
1076 | wildcard_match); | ||
1077 | child_set_env(&env, &envsize, "SSH_REMOTE_FINGERPRINT", | ||
1078 | wildcard_fingerprint); | ||
1079 | } | ||
1080 | |||
1074 | 1081 | ||
1075 | /* | 1082 | /* |
1076 | * Since we clear KRB5CCNAME at startup, if it's set now then it | 1083 | * Since we clear KRB5CCNAME at startup, if it's set now then it |