Hi!
I want to secure ssh connection to only allowed ip adresses. I have tried with hosts.allow, but it didn't success.
I wrote this:
sshd : 31.15.204.101 : allow
sshd : ALL : deny
This didn't work.
Do you have any other ideas how to secure ssh conection, and if there are any other ways, please help me.
Kind Regards
Jus Kondic
Securing SSH
Re: Securing SSH
Use iptables. Possibly combined with an ipset containing a list of the ip addresses or subnets you want to allow access.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke