Re: limit number of ssh connections

2011-09-19 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Mon Sep 19 19:12:32 2011 > From: mer...@stonehenge.com (Randal L. Schwartz) > To: Paul Macdonald > Date: Mon, 19 Sep 2011 17:12:14 -0700 > Cc: James Strother , freebsd-questions@freebsd.org > Subject: Re: limit number of ssh connectio

Re: limit number of ssh connections

2011-09-19 Thread Chad Perrin
On Mon, Sep 19, 2011 at 05:11:28PM -0700, Randal L. Schwartz wrote: > > "Григорьев" == Григорьев Александр writes: > > Григорьев> If your target is protect freebsd box from bruting passwords > Григорьев> from inet maybe security/knockd will help you? > > Portknocking adds only a dozen bits o

Re: limit number of ssh connections

2011-09-19 Thread Randal L. Schwartz
> "Paul" == Paul Macdonald writes: Paul> in my experience running ssh on a high port cuts the amount of unwanted ssh Paul> connections to approximately zero, in fact i got a surprise when seeing a sec Paul> log from a box which i hadn't done this for I run sshd on 443 (for firewall-bending

Re: limit number of ssh connections

2011-09-19 Thread Randal L. Schwartz
> "Григорьев" == Григорьев Александр writes: Григорьев> If your target is protect freebsd box from bruting passwords Григорьев> from inet maybe security/knockd will help you? Portknocking adds only a dozen bits or so to your password. Do you really think it helps to go from a 1024-bit key t

Re: limit number of ssh connections

2011-09-19 Thread suxor
> Does anyone know a good way of limiting the number of ssh attempts > from a single IP address? > > I found the following website, which describes a variety of approaches: > > http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins > > > But I am honestly not really h

RE: limit number of ssh connections

2011-09-19 Thread Matt Emmerton
Strother Sent: Monday, September 19, 2011 5:47 PM To: freebsd-questions@freebsd.org Subject: Re: limit number of ssh connections Wow, I'm glad I asked. This has been very helpful. @Григорьев Александр Thanks for the tip on inetd, that looks like it might just do the trick. @Paul Macdonald My

Re: limit number of ssh connections

2011-09-19 Thread Tim Daneliuk
On 9/19/2011 2:05 PM, James Strother wrote: Does anyone know a good way of limiting the number of ssh attempts from a single IP address? I found the following website, which describes a variety of approaches: http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins But

Re: limit number of ssh connections

2011-09-19 Thread James Strother
Wow, I'm glad I asked. This has been very helpful. @Григорьев Александр Thanks for the tip on inetd, that looks like it might just do the trick. @Paul Macdonald My main reason for looking into this was glancing through the logs on a server I just put online and seeing large numbers of unauthoriz

Re: limit number of ssh connections

2011-09-19 Thread Григорьев Александр
Standard inetd(8) has many options including limiting connections based on IP-address. Can it help in this case? 20.09.2011, 00:02, "James Strother" : > That's an interesting project, I hadn't realized port knocking had > become so easy to use. > > Unfortunately, for this particular server, I nee

Re: limit number of ssh connections

2011-09-19 Thread Paul Macdonald
2011/9/19 Григорьев Александр : If your target is protect freebsd box from bruting passwords from inet maybe security/knockd will help you? 19.09.2011, 23:05, "James Strother": Does anyone know a good way of limiting the number of ssh attempts from a single IP address? Hi James, (not what yo

Re: limit number of ssh connections

2011-09-19 Thread Damien Fleuriot
Again if your goal is to protect against attacks, you might want to look at sshguard from the ports. Otherwise I believe there's a sshd_config directive to limit the number of concurrent connections from a single source IP On 19 Sep 2011, at 22:02, James Strother wrote: > That's an interestin

Re: limit number of ssh connections

2011-09-19 Thread James Strother
That's an interesting project, I hadn't realized port knocking had become so easy to use. Unfortunately, for this particular server, I need to be able to provide a simple way for (a very limited number of) users to login into the system remotely using a variety of OS platforms. So I don't think p

Re: limit number of ssh connections

2011-09-19 Thread Григорьев Александр
If your target is protect freebsd box from bruting passwords from inet maybe security/knockd will help you? 19.09.2011, 23:05, "James Strother" : > Does anyone know a good way of limiting the number of ssh attempts > from a single IP address? > > I found the following website, which describes a

limit number of ssh connections

2011-09-19 Thread James Strother
Does anyone know a good way of limiting the number of ssh attempts from a single IP address? I found the following website, which describes a variety of approaches: http://www.freebsdwiki.net/index.php/Block_repeated_illegal_or_failed_SSH_logins But I am honestly not really happy with any of th