How to check for SSH login attempts

in cli •  7 years ago  (edited)

All login attempts are logged to /var/log/auth.log .

You can check the latest 10 rows by using:

tail /var/log/auth.log
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!