SSH

Jan Dušátko jan at dusatko.org
Thu Jan 29 07:32:08 CET 2015


Voila !

Match Host *.domain.local
      PermitRootLogin yes

Match Address 192.168.1.*
      PermitRootLogin yes

Match Address *,!192.168.1.*
      PermitRootLogin no

Match Host *,!.domain.local
      PermitRootLogin no

Co mam otestovano, pouziti hostname jako takového neni uplne v poradku.
Orizne i hostname z internetu o domenu a muze dojit k false positive. Tedy
spravne nastavit v /etc/hosts a resolv.conf 

Honza




More information about the Users-l mailing list