Using Ubuntu server 14.04LTS I want to configure my UFW to limit ssh connections with the following command:
sudo ufw insert 1 limit ssh/tcp
which throws an error: ERROR: Invalid position '1'
Due to the fact that this command accepts no number at all there should be no other rule placed under number 1...
man ufw
outputs the following insert NUM RULE
whereas RULE
should be limit ssh/tcp
. That said my syntax should be correct.
Anyone knows whats going on here?