Originally Posted by
kevdog
Take a look at the fwknop port knocking application.
These two documents help with that:
https://help.ubuntu.com/community/PortKnocking
https://help.ubuntu.com/community/Si...tAuthorization
If it is a mater of restricting access to certain minutes or hours, then
xinetd can be used by not running sshd standalone:
Code:
update-rc.d ssh remove
The configure the file xinetd.d/ssh:
Code:
service ssh
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/sshd
server_args = -i
per_source = UNLIMITED
log_on_success = USERID HOST DURATION
access_times = 9:00-9:30 12:00-16:00
}
Bookmarks