I have setup a Fedora linux server (might be changing that to CentOS) and I am using OpenSSH to allow inbound remote connections to the box. Everything is functioning correctly, however, i have a few questions that I would really appreciate assistance with.
Firstly, the specs:
Athlon 64 X2 4200
2500GB Bandwidth per month
Alright, what I need to do is allow multiple remote users to connect to the box via SSH, for which I will charge them for the service that I will be offering. Obviously this poses the following questions:
Q: What is the max amount of SSH connections that the box will support?
I have determined that each SSH connection uses about 2Mb of RAM, which means that I can have a theoretical max of 1000 users connected. The amount of data running through these tunnels that the users will be creating is minimal, so processor usage will not be insane. Your thoughts?
Q: I will be allocating each user 10GB of internet bandwidth, how would I set up my box to monitor how much data has been consumed on a PER USER BASIS? I will need to halt their account when their cap has been reached.
Please could you let me know of any software or the like that will assist me with this endevor. I know that there are things like Cpanel but that is a bit overkill for my requirement, not to mention hellish expensive.
Really appreciate your time