Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ssh allow password login subnet

# Global settings
…
PasswordAuthentication no
…

# Settings that override the global settings for matching IP addresses only
Match address 192.0.2.0/24
    PasswordAuthentication yes
 
PREVIOUS NEXT
Tagged: #ssh #password #login #subnet
ADD COMMENT
Topic
Name
3+5 =