From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 11:20:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99F3B16A403 for ; Thu, 26 Apr 2007 11:20:55 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7218613C448 for ; Thu, 26 Apr 2007 11:20:55 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [192.168.1.10]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 1826928F879; Thu, 26 Apr 2007 11:22:21 +0000 (UTC) Date: Thu, 26 Apr 2007 11:22:21 +0000 (UTC) From: Duane Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Pietro Cerutti In-Reply-To: Message-ID: <20070426112111.G4140@duane.dbq.yournetplus.com> References: <78814ac0704260357g2bedb91s48c9f8aa7cd4f27f@mail.gmail.com> <23ed14b80704260407v39dd1d3al109148fef1d8a0f6@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1758969154-1177586541=:4140" Cc: freebsd-questions , =?UTF-8?Q?Andreas_Wider=C3=B8e_Andersen?= Subject: Re: How do I prevent unauthorized ssh login attempts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 11:20:55 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1758969154-1177586541=:4140 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 26 Apr 2007, Pietro Cerutti wrote: > On 4/26/07, Andreas Wider=C3=B8e Andersen wrote: >> On 4/26/07, Arek Czereszewski wrote: >> > >> > Andreas Wider=C3=B8e Andersen wrote: >> > > I'm getting a lot of unauthorized ssh login attempts. I have a prett= y >> > basic >> > > FreeBSD 6.2 setup. I have compiled my own kernel. Here's what I get= =20 > 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 locke= d >> 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= =20 test after you make the change with a new connection. That way if the new= =20 connection fails, you still have a "foot in the door". --0-1758969154-1177586541=:4140--