Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2006 18:07:09 -0500 (EST)
From:      Ensel Sharon <user@dhp.com>
To:        freebsd-security@freebsd.org
Subject:   limiting concurrent scp/rsync sessions (over ssh)
Message-ID:  <Pine.LNX.4.21.0601241805020.8684-100000@shell.dhp.com>

next in thread | raw e-mail | index | archive | help

Hello,

I have a file server that serves files over rsync and scp (all over ssh -
in fact, ssh is the only service listening)

I would like to limit each user to no more than X concurrent ssh sessions
(regardless of what they are doing (interactive login, scp, rsync, etc.))

I have read the documentation and man pages and it looks like I need to
set this in /etc/pam.d/sshd, but I don't know exactly what to put in place
where.

Can someone tell me the steps needed to do this ?

Thank you very much.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0601241805020.8684-100000>