summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/session.c b/session.c
index 19f38637e..a5634ccc2 100644
--- a/session.c
+++ b/session.c
@@ -1094,6 +1094,13 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell)
1094 child_set_env(&env, &envsize, "TERM", s->term); 1094 child_set_env(&env, &envsize, "TERM", s->term);
1095 if (s->display) 1095 if (s->display)
1096 child_set_env(&env, &envsize, "DISPLAY", s->display); 1096 child_set_env(&env, &envsize, "DISPLAY", s->display);
1097 if (wildcard_match) {
1098 child_set_env(&env, &envsize, "SSH_REMOTE_KEY",
1099 wildcard_match);
1100 child_set_env(&env, &envsize, "SSH_REMOTE_FINGERPRINT",
1101 wildcard_fingerprint);
1102 }
1103
1097 1104
1098 /* 1105 /*
1099 * Since we clear KRB5CCNAME at startup, if it's set now then it 1106 * Since we clear KRB5CCNAME at startup, if it's set now then it