How do I get the username in channel_input_port_open

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Tue Sep 26 06:43:39 EST 2000


On Mon, Sep 25, 2000 at 10:37:31AM -0400, MARC KURTZ wrote:
> Doesn't SSHD keep track of this sort of thing? Isn't there a data structure
> somewhere that stores the user name of that instance of sshd?

of course, sshd knows the uid of the authenticated user, but not
the uid of the process connecting to a forwarded socket.





More information about the openssh-unix-dev mailing list