Koozali.org: home of the SME Server

sshd,trust IP and template

rik

sshd,trust IP and template
« 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!!