Port knocking
If it possible to add a feature do disable SSH Port every time. And only if a special sequence of ports where knocked the SSH Port will open?
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG
-
Christopher Auth commented
I have searched in the Internet how I can secure my SSH login. I have found the port knocking method to disable the SSH port and only if I will used it it will opened.
I don't know how the Fail2Ban function and the knockd package will affect each other.
This sequence is, if I understand it correctly, the SSH port 22 is closed. If if knocked on port 7000,8000,9000 within a timeout. The port 22 will open and I can logged in over SSH.
http://en.wikipedia.org/wiki/Port_knocking
https://help.ubuntu.com/community/PortKnockingI think it will be a great secure feature similar a Two-factor authentication but for the ssh login.