Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

To implement this:

  1. Save this script as "/usr/local/sbin/ssh-country-check" with your changed config

  2. Add this to /etc/ssh/sshd_config: ForceCommand /usr/local/sbin/ssh-country-check

  3. Make the script executable: chmod +x /usr/local/sbin/ssh-country-check

  4. Restart SSH service: systemctl restart sshd

About

Geo Blocks SSH Logins even if the password is right when not in the right country

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages