Re:sshd security

看板FB_security作者時間21年前 (2004/09/19 20:40), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
I had the same problem so i setup up hosts.allow to only allow access from certain ips i require This has the affect of killing the connection from any other ip befor gettign to any login prompt example below sshd : localhost : allow sshd : 192.168.2. : allow sshd : 82.41.115.213 :allow sshd : 216.123.248.219 : allow <-- public ip i wish to allow of course i have changed it sshd : all : deny This then shows in log instead of failed login attempts dot.blah.co.uk refused connections: Sep 17 22:11:55 dlt sshd[35669]: refused connect from usen-219x113x213x21.ap-US.usen.ad.jp (219.113.213.21) Regards Terry _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #11JNux00 (FB_security)
文章代碼(AID): #11JNux00 (FB_security)