var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Monitor FTP and SSH
Hope this is in the right forum.
Can anyone please suggest a simple script (shell or cpanel/whm is fine) that will allow me to monitor active FTP connections on my deciated server?
I would also like to find something similar regarding SSH, detailing current connections/attempts and where they are coming from.
Very much appreciate your help!
A little off topic, but you may want to reconsider allowing SSH access as it can sometimes create a security hazard.
Generally it should only be granted to people who have an actual need for shell access...
You can enable detailed logging for sshd in its config file.
And make sure people login to a "jailed" shell - not a perfect cure-all but can stop a good number of simple hacks/cracks.
Originally Posted by
Awsome guys, thanks for all your help so far.
I only have one domain with shell access and that one is jailed.
In my logs I see heaps of attempts to log in though.
I would like a visual method of seeing this activity.
I'll look at ngrep and tcpdump.
Isn't it amazing what a bit of study and self help can do!
Thanks for all your assistance.
tail -f /var/log/messages
tail -f /var/log/xferlog
tail -f /var/log/secure
all happy now