11
5
I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is safe to perform maintenance on the machine?
Since the machine is almost constantly serving large files, scheduled maintenance is often bumped off due to someone either upload
4I ended up using
netstat -atn | grep ':22'
to see if there was open traffic on port 22. I also found that I could check the sshd logs, located at '/var/log/auth.log' on my system to see if all users who had opened a session had been closed out. – aVeRTRAC – 2011-08-10T00:30:36.660