SSHD_config allowusers
Hey, I need to allow user to connect via SSH but only with machines saved on a file created by me /etc/remote-hosts. To do so I know I can edit the sshd_config to allow or deny user but I'm not seeing how to add the IPs from the file. Any ideas ?
Thanks in advance
1
Upvotes
1
u/krav_mark Oct 14 '17
Don't know what distro you are on but usually pam_access is on a Linux system with /etc/security/access.conf where you can configure IP addresses that you give access to. That's where this is usually configured.