Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- MaxStartups and unauthenticated sessions
- sudhir jain
January 6, 2009, 3:28 am
rate this thread
read the documentation, it says this controls the max unauthenticated
session allowed at a time but looking at the code in sshd.c file, startup
pipes are closed just after the fork and before authentication. So it only
controls startup connections and not really the unauthenticated sessions. I
see in my system I can have more than MaxStartup unauthenticated sessions.
Also is it possible to limit the total number of current sessions at at time
(both authenticated and unauthenticated)?
Thanks for your help.
Re: MaxStartups and unauthenticated sessions
I think it is using "unauthenticated" to mean the TCP session prior to
the SSH authentication exchange. I'm guessing that you mean an active
SSH session of some sort (but with a different level of authentication).
Is that correct?
What do you mean by unauthenticated? All sessions should have passed
some level of authentication.
I don't think openssh makes it easy to do session limits like you're
looking for. I usually prefer to do per-user limits at the OS level,
but that's not always easy.
- » xclock fail with "Error: Can't open display" on "ssh -X"
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum