I have problem with the
MaxSessions parameter in
I would like to restrict number of sessions via one ssh connection. For example for TCP forwarding.
When I set
MaxSessions to 0, logons are not working (that's fine, that's how it should work) but when I set to 1 I can have multiple sessions (even 1 disables multiplexing) via one ssh connection and set it to 2 or more has no effect as well then.
Maybe you can direct me to right solution.
I test it like this: Open ssh connection from PuTTY (Win) to server(BSD). Port forwarding is in use (for HTTP). So I use SOCKS in browser.
I download two files simultaneously from two different websites and it works for both through this tunnel but it should not (
MaxSessions is set to 1).
sshd- OpenSSH 5.2 portable for FreeBSD
- OS - FBSD 6.2
Thank you for any help.