I'm using Ubuntu 14.04 and I want to block SSH login country wise using GeoIP ( From https://www.axllent.org/docs/view/ssh-geoip/),
Please find output of command:
$ spawn
spawn: command not found
So that I've install expect package but still not working:
apt-get install expect
expect is already the newest version
I want to execute following script:
cat /etc/hosts.allow
sshd: ALL: spawn /usr/local/bin/sshfilter.sh %a
Have you any idea regarding same ?