2

I'm using vsftpd. Now I would like to now if - and if, who - someone is currently connected to the server.

Is it possible to find out, if anybody is connected, how many and even who is connected?

1
  • Did you took a look at /var/log/vsftp.log file?
    – Marcelo
    Feb 8, 2017 at 11:40

1 Answer 1

2

You should set setproctitle_enable to YES in your vsftpd.conf. From man 5 vsftpd.conf:

setproctitle_enable
If enabled, vsftpd will try and show session status information in the system process listing. In other words, the reported name of the process will change to reflect what a vsftpd session is doing (idle, downloading etc). You probably want to leave this off for security purposes.

Now you can do a ps axuw | grep vsftp (or whatever you like) and see connected users.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .