Add SSH_CLIENT environment variable

This commit is contained in:
Ryan Cleere
2014-10-20 12:59:47 -05:00
parent 6d2d3669f3
commit 957450582f
2 changed files with 25 additions and 0 deletions

View File

@@ -54,6 +54,9 @@ struct ChanSess {
/* Used to set $SSH_CONNECTION in the child session.
Is only set temporarily before forking */
char *connection_string;
/* Used to set $SSH_CLIENT in the child session. */
char *client_string;
#ifndef DISABLE_X11FWD
struct Listener * x11listener;