N
N
namee2021-08-20 14:44:04
linux
namee, 2021-08-20 14:44:04

How to find out that there was an sftp login?

Good day!
Apparently I forgot how to google.

to find out who is logged in via ssh, you can run w who or last commands for example.
But how can I find out who is currently connected via sftp?

found only
ss -e | grep -i ssh

but it shows not even connected users, but simply with an open login window.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Falaleev, 2021-08-20
@namee

netstat -atn | grep ':22'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question