[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rãspuns: Restriction ssh access (woody)?



 if i recall correct you add in /etc/hosts.deny a line "ALL: ALL" and in
/etc/hosts.allow lines with the ips allowed and the services they can
access,like
 "sshd: 194.112.102.3, 193.230.167.22, 212.155.,217." and "in.telnetd:
server.host.com, 198.204.22.4, 140.24." or "in.pop3d: ALL"  and stuff..
take care.

 Petre L. Daniel
 Linux Administrator,Canad Systems Pitesti
 http://www.cyber.ro email:office@cyber.ro
 phone: +4048220044,+4048206200

-----Mesaj original-----
De la: Johann Spies [mailto:js@bywoner.sun.ac.za]În numele Johann Spies
Trimis: Tuesday, December 04, 2001 4:12 AM
Catre: Debian Users List
Subiect: Re: Restriction ssh access (woody)?


On Tue, Dec 04, 2001 at 12:18:55AM -0800, Lars Jensen wrote:
> How do I allow only certain hosts to connect with ssh to my woody
> machine. In potato I has a file sshd_config that had an AllowHosts
> entry. I don't see this in woody's sshd_config file.

You can use hosts.allow and hosts deny.

It works without a problem for me.

Regards.

Johann
--
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Behold, happy is the man whom God correcteth.
      Therefore despise thou not the chastening of the
      Almighty."         Job 5:17


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: