Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an application that runs on either windows or linux that will monitor remote linux servers for SSH, and FTP connections and display a notice whenever a user is connected?

share|improve this question
up vote 1 down vote accepted

You can use a monitoring software like nagios to monitor your server. If you could not find a plugin to do what you want, you can write your own script to check when a user is connected. A command like w or who will be useful to you.

share|improve this answer
Nagios is great for monitoring services but doesn't show me who's logging on to my servers. If I wanted to have a custom script made i'd post to odesk. I'm hoping there's an application already built that can do this. – Anagio Dec 27 '11 at 8:56
The checking plugin/script can provide the needed information not only the service status! – Khaled Dec 27 '11 at 9:00
Would you please post a link to the checking plugin – Anagio Dec 27 '11 at 9:07
I am not talking about specific plugin. You can search for a one or write your own. – Khaled Dec 27 '11 at 9:47

If remote server is linux and if scalability is not an issue, this could be done on the remote side

Install Gmail notifier on your desktop

For SSH Add this line under Debian to your "/etc/bash.bashrc" >

echo 'Login on' hostname date who| mail -s "Login on hostname who | awk '{print $5}'`"

For FTP If you are using ProFTPd (default Debian ftp server) you can use ftpmail that monitors transfer log.

share|improve this answer
Hi Sergei, very cool idea to use Gmail notifier, since it's only a few servers right now that's not a problem. I use vsftpd on my servers I don't think it has that built in but can maybe monitor the vsftp.log – Anagio Dec 27 '11 at 17:34

You can also try Zabbix Then setup a filter to monitor your ssh auth log for certain users/stations/etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.