I have a user who logs in via
sftp but he opens a lot of sessions and keep them opened. This will make
sftp very slow for all other users. I thought about using
ClientAliveInterval number in seconds ClientAliveCountMax number of counts
but it will affect all users and it can tricked by adding other parameters from client machine(s).
Note I am using
Debian 8.3 and I am enabling server
ftp service too.
- Is there a way to drop the user session if there is no real action like copy, move ..etc
- Can I add parameters above for just one user?