Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My server keeps timing out when I attempt to download a handful of files at once.

I'm running Ubuntu 10.04 LTS

sshd_config contains the following tweaks:

Subsystem sftp internal-sftp

Match group www
    ChrootDirectory %h
    X11Forwarding no
    AllowTcpForwarding no
    ForceCommand internal-sftp

and fstab contains the following tweaks:

/srv/www/ /home/chris/ none bind

After attempting to download the files the user will be disconnected.

I'm not even sure where to begin debugging this, so any help would be greatly appreciated. Thanks.

share|improve this question
Is the upload over-saturating the server's available upstream bandwidth? It could be knocking out the ssh session. – Oli Nov 8 '10 at 23:41
Did you try to use different SFTP clients? (Just to rule out a bug in the one you use...) – JanC Nov 9 '10 at 7:33
it's happening during downloading. change in clients don't help – matt ryan Nov 9 '10 at 22:15
up vote 0 down vote accepted

i found out it was a misconfiguration with fail to ban, involving both ssh keys and pw checks. for sftp, the key's failed, resulting in a ten minute ban.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.