Date: Thu, 26 Apr 2007 13:58:54 +0200 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: How do I prevent unauthorized ssh login attempts? Message-ID: <23ed14b80704260458l204c01c9xa4398be47610200a@mail.gmail.com> In-Reply-To: <20070426112111.G4140@duane.dbq.yournetplus.com> References: <78814ac0704260357g2bedb91s48c9f8aa7cd4f27f@mail.gmail.com> <23ed14b80704260407v39dd1d3al109148fef1d8a0f6@mail.gmail.com> <e572718c0704260412y406a5fb5mdab5f4f0ae50780b@mail.gmail.com> <20070426112111.G4140@duane.dbq.yournetplus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/07, Duane Hill <d.hill@yournetplus.com> wrote: > > On Thu, 26 Apr 2007, Pietro Cerutti wrote: > > > On 4/26/07, Andreas Wider=F8e Andersen <wodfer@gmail.com> wrote: > >> On 4/26/07, Arek Czereszewski <arekczer@gmail.com> wrote: > >> > > >> > Andreas Wider=F8e Andersen wrote: > >> > > I'm getting a lot of unauthorized ssh login attempts. I have a > pretty > >> > basic > >> > > FreeBSD 6.2 setup. I have compiled my own kernel. Here's what I ge= t > > from > >> > my > >> > > daily security run output: > >> > [...] > >> > > >> > Run sshd on other port. > >> > And say about this your ssh users. > >> > >> > >> Can I change the ssh port on a live server somehow without getting > locked > >> out? The server is on a remote co-location a flight away from me. > > > > Yes you can. SSH will keep your connection active until you log out, > > then you can log in using the new port > > I will add the fact you will want to keep the current connection live and > test after you make the change with a new connection. That way if the new > connection fails, you still have a "foot in the door". Thanks! I got it working without having to fly out to the server. :-) Let's see if this will prevent the unauthorized sshd login attempts. Cheers, Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23ed14b80704260458l204c01c9xa4398be47610200a>