-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 03 February 2003 01:22, Jesse Kline wrote:
> Hi,
>
>  I have set my firewall to port forward ssh port 22 to my main machine
> on my network. Today my firewall reported that someone was getting
> curious about port 22. To add a little extra security I figured I should
> make sure that the IP address in question was denied. Will adding the IP
> to /etc/hosts.deny make any difference to sshd, or do I have to use
> another file?

a firewall rule is the best idea (as others have noted), but if you wish to 
simply block ssh access, add something like this to your sshd_conf file:

DenyUsers *@<ipaddr>

and restart sshd. 

btw, am i the only one who finds it annoying that sshd_conf isn't sshd.conf?

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Pu0l1rcusafx20MRAs8oAJ9rHpNenmztuQ7h4BKM75W4y/3aXgCglQMd
lcRPX4zPZ+31NeLBGe24LWE=
=Vxsa
-----END PGP SIGNATURE-----

Reply via email to