Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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}'`" name@gmail.com

For FTP If you are using ProFTPd (default Debian ftp server) you can use ftpmail http://www.proftpd.org/docs/contrib/ftpmail.html 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

 
discard

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.