Displaying 1 result from an estimated 1 matches for "ssh_local".
Did you mean:
smc_local
2001 Oct 13
0
local IP in environment
I'm not sure if this is useful to anyone, but I made a small patch to
include the local IP address that the user connected to in the environment
(the opposite of SSH_CLIENT). The variable is called SSH_LOCAL.
-Eric
-------------- next part --------------
*** openssh-2.9.9p2/canohost.c.bak Sun Jun 24 22:01:24 2001
--- openssh-2.9.9p2/canohost.c Fri Oct 12 16:52:09 2001
***************
*** 255,260 ****
--- 255,281 ----
return get_socket_address(socket, 0, NI_NAMEREQD);
}
+ const char *
+ get_loc...