Connection info with AuthorizedKeysCommand

Scott Neugroschl scott_n at xypro.com
Wed Nov 21 09:19:44 EST 2012



> -----Original Message-----
> From: openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org
> [mailto:openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org] On
> Behalf Of Peter Stuge
> Sent: Tuesday, November 20, 2012 2:07 PM
> To: openssh-unix-dev at mindrot.org
> Subject: Re: Connection info with AuthorizedKeysCommand
> 
> Ángel González wrote:
> > > why not make all the information available to the
> > > AuthorizedKeysCommand command?
> >
> > Maybe it should get the environment variable SSH_CONNECTION that is
> > sent on a ssh session.
> 
> What would a patch look like?

[[SAN]] I think the AuthorizedKeysCommand should just read its environment
for SSH_CONNECTION.


More information about the openssh-unix-dev mailing list