HP ProCurve SSH – Cannot Connect to Switch After Bruteforce Attack

hp-procurvessh

One of the operators has bruteforced HP ProCurve switch via SSH. I have connected to device via console cable and killed all SSH sessions. However, I can not still to connect to device via SSH. How can I resolve this problem without device reboot? Thank you.

[SSH] Logged in (password)

[SSH] ERROR: Received disconnect from 172.31.0.1 port 22:11:
Sorry, the maximum number of sessions are active.  Try again later.



[SSH] INFO: DISCONNECT

Best Answer

Change SSH port to eg. 2222. Not 100% sure, but probably all current sessions will close/drop.

SSH key-based authentication can be leveraged to eliminate password brute force attempts. So that won't happen anymore, problem solved.