Connection info with AuthorizedKeysCommand

Damien Miller djm at mindrot.org
Fri Nov 23 10:25:46 EST 2012


On Wed, 21 Nov 2012, Anthony R Fletcher wrote:

> Can we have the option to run as the authenticating user? Otherwise I
> need to use some kind of sudo magic.

You can use "AuthorizedKeysCommand %u" to get this. We don't advertise it
in the manual pages because it generally isn't a good idea. 

-d


More information about the openssh-unix-dev mailing list