Is posible to limit user login using iptables? It's like if one user is logged in, no one else can log in using that user.
I try this command:
iptables -A INPUT -p tcp --syn --dport 22 -m connlimit --connlimit-above 1 -j REJECT
It can limit user login, but just for 1 IP. I still can login using another PC with different IP Address.
Thank you