FG

How can I see if users are logged in over sftp?

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

Problem

I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is safe to perform maintenance on the machine? Since the machine is almost constantly serving large fil…

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 see if users are logged in over sftp?

Low Risk

You can also do: which should show any sshd sessions (which are used for sftp). I notice on my machine my sshd process command line contains '$USER@notty' which makes sense since I'm not logged in with a terminal session. You could tighten up the gr…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment