From 37b9eb060db83ca0966974295136edab17774473 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Fri, 30 Nov 2001 12:32:02 +0000 Subject: allow the ssh connexions from everywhere --- init-sh/levelsnf.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init-sh') diff --git a/init-sh/levelsnf.sh b/init-sh/levelsnf.sh index a4c592f..349d200 100755 --- a/init-sh/levelsnf.sh +++ b/init-sh/levelsnf.sh @@ -24,6 +24,10 @@ AddRules "*.* /dev/tty12" /etc/syslog.conf echo "Denying all kind of connection except localhost : " AddRules "ALL:ALL EXCEPT localhost:DENY" /etc/hosts.deny +# Allow all the ssh connexions from anywhere +echo "Allowing the ssh connexions from everywhere : " +AddRules "ALL:sshd ALL" /etc/hosts.allow + # Login as root on the console allowed : echo "Denying login as root (except on the console) :" AddRules "tty1" /etc/securetty quiet -- cgit v1.2.1