Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- TTY limiting for ssh sessions
February 5, 2004, 4:10 pm
rate this thread
using sshd_config's "UseLogin" feature? The goal is to limit shell users
to 2 simultaneous logins. I've written a script in bash that sorta does
it, but it's not a complete solution. The OS is FreeBSD 4.9-RELEASE. Any
ideas out there?
life to you is a dashing bold adventure.
Re: TTY limiting for ssh sessions
LinuxPAM's pam_limits can enforce per-user login limits. I don't know if
FreeBSD has an equivalent (or even if that version of FreeBSD has PAM...)
but that might be an option.
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum