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.
Loading...
Related Quiz
- Which file defines the default settings when a new user account is created?
- Which command in Bash is used for multi-way branching?
- The _________ Linux distribution is enterprise-focused and is backed by Red Hat.
- To manage user authentication in an enterprise setting, Linux systems can integrate with _________ directories for centralized account management.
- Which technology allows for OS-level virtualization, resulting in multiple isolated user-space instances?