shell-network/ssh/etc/sshd_config.d/31-SomeFromAddress.conf

6 lines
161 B
Plaintext

# allow only some users from some addresses
Match User <user>,,user> Address 10.10.0.2
PubkeyAuthentication yes
PermitRootLogin prohibit-password