When I set MaxSessions flag to 1, I can have multiple sessions via ssh connection and set it to 2 or more has no effect as well then.If i set MaxSessions flag as 1, there should be allow only one ssh connection.Maybe you can direct me to right solution.
How to Set MaxSessions parmeter in sshd_config
linux;ssh;configuration;sshd;session