Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have SSHD running on port 5800 on some machine. (It is a my machine at home.) If I run this manually in a terminal:

# ssh someIP -p 5800 

The connection is lost because I am disconnected after 3 consecutive mistakes. OK.

Now I do a brute force with hydra on this port with ssh as specified service and password root. It seems to run and tries passwords, but now I wonder why I am not disconnected this way. Is this because hydra instantiates a new connection for every new password, closes it after trying the password, and opens a new connection again for the next password attempt?

share|improve this question
I guess it tries as much passwords it can and reconnects whenever disconnected. You can check sshd logs on the target machine. – peterph Mar 11 '13 at 9:30

Your Answer


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

Browse other questions tagged or ask your own question.