How to check FTP user logon

How to check FTP user logon

Postby musicscoree96 » Wed Oct 17, 2012 2:12 pm

How can I see which FTP users are currently logon to my NS1 ftp server ? :scratch
musicscoree96
 
Posts: 16
Joined: Tue Apr 30, 2013 2:15 pm

Re: How to check FTP user logon

Postby Jocko » Wed Oct 17, 2012 2:38 pm

Hi musiscore.

You can find this with the ftp log menu that shows global number of connexions and details it for each login
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to check FTP user logon

Postby musicscoree96 » Wed Oct 17, 2012 3:01 pm

I examened the log and will reading your answer I realized I ask the wrong question. I want to know if it is possible to see who is loged on to the FTP server and then, if necessary, disconnect that user ?
I use my FTP server to store automaticly regerated backups of my and my customers websites. Would be nice to see if the backup deamons are connected and if necessary disconnect them.
B.t.w. Thanks for the very quick response and I realy like the firmware.
musicscoree96
 
Posts: 16
Joined: Tue Apr 30, 2013 2:15 pm

Re: How to check FTP user logon

Postby Jocko » Wed Oct 17, 2012 3:20 pm

Today, you can't do that with the web-interface.

But with Putty, you can :
Use the command "ftpwho" which make a users list for each connexion :
N°PID loginname (and other time information or status).

So if you set a login used only by your backup daemon (ie. ftpbackup), ftpwho will show you if the daemon is logged.

To stop the backup connexion, you have to kill all process used by the backup daemon with this command :
Code: Select all
kill -9 n°pid
. You must repeat for each process (each n°pid used with the backup login)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to check FTP user logon

Postby musicscoree96 » Wed Oct 17, 2012 3:26 pm

Jocko, again, thanxs for your response.
Your answer is good enought for me. I will use putty (the exe is already on my PC)
musicscoree96
 
Posts: 16
Joined: Tue Apr 30, 2013 2:15 pm


Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 6 guests

cron