Linux Commands
How to keep a check on remote logins
| How to keep a check on remote logins |
|
|
|
|
To know current logged users through SSH. who | grep -wv ‘:0’The output will display the IP from which a person has logged in to system as well as the user name. To know the history of all remote logins, use the following command: Last -add | grep -wv ‘0.0.0.0’ |
| < Prev | Next > |
|---|