You have been tasked to allow only a specific IP address to connect to your SSH server. Which tool or method would be best suited to achieve this?

  • iptables
  • /etc/ssh/sshd_config
  • TCP Wrappers
  • /etc/hosts.allow
To allow only a specific IP address to connect to your SSH server, you can use TCP Wrappers. You can configure access control for SSH by adding the allowed IP address in the /etc/hosts.allow file, specifying the service you want to control, which in this case is SSH.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *