* Scott <amorphous.yet....@gmail.com> [11.11.2011 20:30]:
> Hello,
>
> $ grep 'MaxSessions' /etc/ssh/sshd_config
> MaxSessions 2
>
> But I can log into a box with at least 5 sessions (I stopped trying at
> that point).

This is not the focus of the MaxSessions directive

See http://openssh.org/txt/release-5.1:

[...]
 * Added a MaxSessions option to sshd_config(5) to allow control of the
   number of multiplexed sessions supported over a single TCP connection.
   This allows increasing the number of allowed sessions above the
   previous default of 10, disabling connection multiplexing
   (MaxSessions=1) or disallowing login/shell/subsystem sessions
   entirely (MaxSessions=0).



--
Mattias

Reply via email to