Coding help : Where to log X11 forwards?
Damien Miller
djm at mindrot.org
Fri Feb 6 10:26:59 EST 2009
On Thu, 5 Feb 2009, Jeff Blaine wrote:
> OpenSSH 5.1p1
>
> I can't grasp why, when connecting with 'ssh -Y' to this
> test host, I am not tickling the verbose() call below that
> I have added.
I'm not sure why the verbose isn't triggering here, but:
> At any rate, I am looking for some guidance on where
> to log X11 forwards that are established, ideally with
> a username and remote display information, but whatever
> I can get, I'll take.
You can achieve most of this by specifying a custom xauth program
using sshd_config:XAuthLocation. It could be just a shell script
that logs the parameters and the current user - no modifications to
ssh necessary.
-d
More information about the openssh-unix-dev
mailing list