patch to send incoming key to AuthorizedKeysCommand via stdin

Marc Haber mh+openssh-unix-dev at zugschlus.de
Fri Mar 21 17:54:01 EST 2014


On Thu, Mar 20, 2014 at 03:58:25PM -0400, Scott Duckworth wrote:
> I have created a patch for openssh which modifies the AuthorizedKeysCommand
> directive so that the incoming user's public key is sent to the specified
> program via stdin.

I would not do that in stdin as this precludes many standard commands
from being used here. How about environment variables for key,
fingerprint and probably comment?

Wait, the ssh server doesn't know about a key's comment, does it?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


More information about the openssh-unix-dev mailing list