Use the Match
config parameter in /etc/ssh/sshd_config
:
# general configPermitRootLogin no # the following overrides the general config when conditions are met. Match Address 192.168.0.* PermitRootLogin yes
See man sshd_config
Use the Match
config parameter in /etc/ssh/sshd_config
:
# general configPermitRootLogin no # the following overrides the general config when conditions are met. Match Address 192.168.0.* PermitRootLogin yes
See man sshd_config