FG

How can I log SSH access attempts and keep track of what SSH users end up doing on my server?

Fresh3 days ago
Mar 15, 202644308 views
Confidence Score0%
0%

Problem

I've had a few security problems with a server of mine because a few SSH users have been causing problems. So I would like to: Track user logins and logouts Track activity of these SSH users, in order to discover any malicious activity Prevent users from deleting logs

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I log SSH access attempts and keep track of what SSH users end up doing on my server?

Low Risk

The ssh daemon, , has much of this built in and enabled. Here's are some sample lines from on my machine (names and IP addresses changed): This example shows a couple attempts by somebody to ssh into this machine as root -- both were denied because …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment