SSH Server block a connection by IP?
Posted: Mon 28 Nov 2016 18:18
Hi,
I have a need to block a IP that is connecting to my SBridge SSH server.
The afterClientConnect event is no good because that fires after the user has logged on.
for example if I telnet to the server in a command prompt window it shows the banner and just sits there, this is the point I need to be able to drop a connection if it matches a certain IP address.
The ssh server component needs a BeforeClientConnect or something like that where a connection could be dropped.
I have a need to block a IP that is connecting to my SBridge SSH server.
The afterClientConnect event is no good because that fires after the user has logged on.
for example if I telnet to the server in a command prompt window it shows the banner and just sits there, this is the point I need to be able to drop a connection if it matches a certain IP address.
The ssh server component needs a BeforeClientConnect or something like that where a connection could be dropped.