Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: OpenSSH's sshd drops connections

Subject: Re: OpenSSH's sshd drops connections
Date: Fri, 27 Jul 2007 07:49:18 +1000
Nejc Škoberne wrote:
I manage around 50 FreeBSD servers and I have created a script which does
some work every 5 minutes. Actually this script transfers some files to/from
the central server, which is running a OpenSSH's sshd
(OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004). So I use
sftp (I have also tried scp) on client sides to perform the task.


The problem is, that (apparently because all the servers start transferring
files at approximately the same time), some clients are able to do the transfers and others are not.

OpenSSH's sshd has a rate limiting mechanism to prevent excessive numbers of unauthenticated connections at any one time, and it sounds like you're hitting that limit. Try tweaking the MaxStartups setting (it defaults to 10) in sshd_config and restarting sshd. There's also some optional extra parameters to MaxStartups, see sshd_config(5) for the details.


--
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.

<Prev in Thread] Current Thread [Next in Thread>