Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: rik on January 16, 2002, 05:46:03 PM

Title: sshd,trust IP and template
Post by: rik on January 16, 2002, 05:46:03 PM
I would like to limit the access to ssh to some well known ip address, so i think to modify the template which generate hosts.allow.
Here i found sshd and i think to change :
{
$OUT .= "\n";
$OUT .= "# sshd daemon\n";
$OUT .= "sshd: ALL"
}

ALL with the IP that i need...
Is it correct?

Thank you!!