Re: Make SSH_ORIGINAL_COMMAND available in AuthorizedKeysCommand context

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Wed, 5 Feb 2014, Francois Leurent wrote:

> Hi
>
> Using SSH_ORIGINAL_COMMAND in AuthorizedKeys is so helpful,
> I'd like to know if it might be possible to access it in the
> AuthorizedKeysCommand context (via env ?). Is this possible ? can
> anybody give me advice on going into this ?

Can't be done sorry - authentication happens well before the command is
sent.

When command="..." is specified in authorized_keys and the output of
AuthorizedKeysCommand, it's just saving the restriction for later once
authentication has completed and the protocol has progressed far enough
for the client to request a shell or command execution.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux