RE: SSH authorized keys login

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

 



Jithesh wrote:
> On Wednesday 10 March 2004 03:56 am, Manuel Arstegui Ramirez wrote:
>>  --- Jithesh <jitzpop@xxxxxxxxxx> escribi: > Hi all,
>> 
>>> In order to avoid ssh asking password, I have added about 30 users
>>> into my authorized keys list. Is there a way by which you can find
>>> which user logged in ?
>> 
>> Try finger (as root)
>> Cheers
> 
>> You don't need to be root to do that. 'w' also gives you that and more
>> (check for yourself).
> 
> You got it all wrong or maybe my question wasn't conveyed
> properly. The last command gives the users who logged in. Is
> there a way by which we can find who logged in with the ssh key?
> 
> Thnks in Adv.

Sshd logs to /var/log/secure. Should give you the info your wanting.

Mar 11 05:09:49 voyager sshd[20146]: Accepted publickey for scowles
from 192.168.9.21 port 3226 ssh2

Mar 11 05:11:45 voyager sshd[20411]: Accepted password for scowles
from 192.168.9.21 port 3779 ssh2

Steve Cowles


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux