mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Add SSH_CLIENT environment variable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user