Results 1 to 3 of 3
How can you lock down SSH to a single IP or range of IPs...
- 08-29-2011 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 4
How to lock down SSH
How can you lock down SSH to a single IP or range of IPs
- 08-29-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
Check out the Match parameter in the SSHD config manpage (man sshd_config).
You can also block SSH connections using tcp_wrappers (man hosts.deny, man.hosts.allow).
You're safest implenting a firewall and using that to drop connections before they even get to the ssh daemon, though.
- 09-01-2011 #3Just Joined!
- Join Date
- Sep 2011
- Posts
- 2
You can install an application called "firestarter" - it's a very useful tool that allows you to add rules exactly like that of what you're looking for. I did this exact thing on my install so only my netbook could get into my desktop.


Reply With Quote