To test a generated ssh private/public key-pair without having to connect to a SSH server we can use ssh-keygen. Here's the example:
# ssh-keygen -y -f /location/of/the/private-keyReferences
To test a generated ssh private/public key-pair without having to connect to a SSH server we can use ssh-keygen. Here's the example:
# ssh-keygen -y -f /location/of/the/private-keyReferences
Make sure running the iptables command as root. Example below shows how to block traffic coming from IP 1.2.3.4.
# iptables -I INPUT -s 1.2.3.4 -j DROPTurn on some logging on those rule, we insert it at line two. Assuming the first iptables command was the at line one.
# iptables -I INPUT 2 -s 1.2.3.4 -j LOG --log-prefix "Dropped an As*hole"References
Copyright 2012 Rio Astamal