Quote:
|
Originally Posted by Panagiotis_IOA
Is there an entry for this in sshd_config or do I need to do it with iptables?
|
I don't think there is a parameter in
sshd_config, and frankly, I don't know how you would do it with
iptables. (If you can clue me in, I'm all ears!

)
If the login shell for all of your users is
bash, then you could edit
/etc/profile so that if a user is already logged in, it immediately dumps them back out. (Make sure it's not the current login you are seeing!) I am not sure how to check that the existing login is via
ssh, but there is probably a way.