Am Samstag, 8. August 2020, 02:26:20 CEST schrieb Kushal Kumaran:
> Rainer Dorsch writes:
> > Hi,
> >
> > can anybody tell if there is a way to find out the ssh key (out of the
> > ones
> > listed in authorized keys) was used for login to the current session?
>
> See the environment="NAME=value"
If what you use is a certificate based authentication, you can add user
identity to the certificate with -I .
Any auth attempt will make that identity logged automatically. Then you
just have to get it from syslogs.
Le sam. 8 août 2020 à 02:26, Kushal Kumaran a écrit :
> Rainer Dorsch writes:
Rainer Dorsch writes:
> Hi,
>
> can anybody tell if there is a way to find out the ssh key (out of the ones
> listed in authorized keys) was used for login to the current session?
>
See the environment="NAME=value" part in the authorized_keys(5) manpage.
You can have each entry in authorized_ke
Am Freitag, 7. August 2020, 17:47:31 CEST schrieb john doe:
> On 8/7/2020 5:07 PM, Rainer Dorsch wrote:
> > Hi,
> >
> > can anybody tell if there is a way to find out the ssh key (out of the
> > ones
> > listed in authorized keys) was used for login to the current session?
>
> Try to increase the
On Fri, Aug 07, 2020 at 07:09:34PM +0200, Rainer Dorsch wrote:
> Am Freitag, 7. August 2020, 17:47:31 CEST schrieb john doe:
> > On 8/7/2020 5:07 PM, Rainer Dorsch wrote:
> > > Hi,
> > >
> > > can anybody tell if there is a way to find out the ssh key (out of the
> > > ones
> > > listed in authori
On 8/7/2020 5:07 PM, Rainer Dorsch wrote:
Hi,
can anybody tell if there is a way to find out the ssh key (out of the ones
listed in authorized keys) was used for login to the current session?
Try to increase the log verbosity to 'debug[1|2|3]'.
--
John Doe
Hi,
can anybody tell if there is a way to find out the ssh key (out of the ones
listed in authorized keys) was used for login to the current session?
Thanks
Rainer
--
Rainer Dorsch
http://bokomoko.de/
7 matches
Mail list logo