summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
authorRyan Cleere <ryan.cleere@rackspace.com>2014-10-20 12:59:47 -0500
committerRyan Cleere <ryan.cleere@rackspace.com>2014-10-20 12:59:47 -0500
commit957450582fbe8a655a0d6bed4643c7929b4e2626 (patch)
tree0a6fc8d8d931137fec6c449ce2fe08db62b4af31 /chansession.h
parent6d2d3669f39f12182b79a0067f477b58948897f6 (diff)
Add SSH_CLIENT environment variable
Diffstat (limited to 'chansession.h')
-rw-r--r--chansession.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chansession.h b/chansession.h
index 1a01d04..50ba8f0 100644
--- a/chansession.h
+++ b/chansession.h
@@ -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;