Searching for original UID at remote (sshd) host

Damien Miller djm at mindrot.org
Fri Nov 26 14:55:21 EST 2004


Roland wrote:
> Hi,
> 
> does there exist a functionality in the current code, which allows the 
> setting of an environment variable at the server side that represents 
> the original user id at the ssh client side.

No, the server side would have to trust the client to not lie about the
uid anyway.

If you are happy with this trust, then you could probably cook something
up with the existing environment passing support (see SendEnv and
AcceptEnv in client and server config manpages)

-d




More information about the openssh-unix-dev mailing list