Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Allow only one IP host to access SSH

  1. Make sure SSHD was built with TCP wrappers:
ldd /usr/sbin/sshd | grep libwrap
  1. Execute:
nano /etc/hosts.allow
  1. Add:
sshd: YOUR_IP: ALLOW
sshd: ALL: DENY

About

Allow only one ip/host to access SSH

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors