3 Sep
2018
3 Sep
'18
11:20 a.m.
"I" == ignas bunikis <ignas.bunikis@scilifelab.uu.se> writes:
I> Hej, I would like to limit access to the cluster via hosts.allow I> and hosts.deny. What is the best way to do it? I> I could create a script in /etc/qlustar/common/rc.boot/ that I> looks like this: > #!/bin/bash > echo 'sshd: ALL' >> /etc/hosts.deny > echo 'sshd: localhost' >> /etc/hosts.allow > echo 'sshd: xxx.xxx.xxx.xxx' >> /etc/hosts.allow I> Is that ok? That should work.