limiting concurrent scp/rsync sessions (over ssh)




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.

_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Backup?
    ... Zur Verfügung stehen FTP, SSH, SCP und RSYNC. ... Es geht auch mit SSH oder SCP. ... welche Daten bereits per FTP übertragen wurden? ...
    (de.comp.os.unix.linux.misc)
  • Re: Linux File Transfer (not ftp)
    ... I agree completely that rsync is a better tool for most jobs like this ... and use it all the time myself, while I only rarely use scp. ... The -essh is now optional if all you want is straight ssh. ... They dropped the rsh transport some time ago although you ...
    (Fedora)
  • Re: Copy mailertable.db access.db generics.db etc etc ....
    ... find I am I complete rookie when it comes to scp and rsync. ... use rsync with ssh or scp with ssh and thats as far as I get. ... I use cfengine here so no cron job is needed, but scp and rsync will work fine along with the cron process. ...
    (comp.mail.sendmail)
  • Re: scp or ssh transfert
    ... But for this kind of access control, SSH is often not your best bet. ... and provides protection against symlink oddness that SCP ... There's also rsync, or rsync over SSH: ...
    (comp.security.ssh)
  • Re: SCP OR RSYNC
    ... > Just wondering if somebody can tell me the pros and cons of SCP and ... > RSYNC over SSH. ... potential attack that requires lots of data to obtain some sort of ...
    (comp.os.linux.security)