X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 5C6DE36152BB for ; Tue, 16 Mar 2010 13:05:12 +0000 (UTC) Received: by wwb18 with SMTP id 18so854323wwb.13 for ; Tue, 16 Mar 2010 06:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=je7q6jeTldORGOgc0YoFWnWSTb1fKZ8Rvz0Km7smLkQ=; b=EwOsSBNYtX1lq60MtvmFQekoiTTBEvKcNMbOz260jpd8nmFOgk8oLzBLI9Lm9ITbek C8IeW8bGENHIzmdHNXqVCBnTR/AwyQZBFwWu1cLzJNeQFPG1nXDFORNi9oYbRNjhA5K3 Kln3zEGKX738PQsbaAVmzWGPH68xe4FY1iIms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZRaROpChXfXgpTidYs4ZpNSmv8PabmHTvzKC6zWkE+reZ9gfd8AX3nW5l1tW0FQb7U r0t69fhMvS3goqW9o7TcSMHV/kp2A16uC5aH38ulTeYTlwfZDd/krJ+DigUhg0m50SCu SXXyfNzwEdKIeBDCu40DFnr1kpmkCN2bRBKZA= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.216.86.11 with SMTP id v11mr704718wee.219.1268744711706; Tue, 16 Mar 2010 06:05:11 -0700 (PDT) In-Reply-To: <4B9F4641.90802@freemail.gr> References: <95408c821003160135m2101ac94x7de01bd98f5f360f@mail.gmail.com> <4B9F4641.90802@freemail.gr> Date: Tue, 16 Mar 2010 14:05:11 +0100 Message-ID: <95408c821003160605q71961670l22017bd8cd7f5fb5@mail.gmail.com> Subject: Re: [alpine-devel] heads up: new behaviour of sshd stop From: Natanael Copa To: Harry Lachanas Cc: Alpine Developers Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Mar 16, 2010 at 9:50 AM, Harry Lachanas wrote= : > Not =A0convenient !!! /etc/init.d/sshd restart will not disconnect you Just don't run '/etc/init.d/sshd stop' alone and you'll be safe. > Does this apply to DropBear too ??? No, I dont know how dropbear does it, but it will be unchanged. > Regards, > Harry > > > >> Just a heads-up for you who uses ssh on remote boxes. >> Do not run '/etc/init.d/sshd stop' when connected remotely. You will >> from now on be disconnected when doing so. >> >> Before: >> =A0* /etc/init.d/sshd stop does not kill the running ssh sessions and >> does not disconnect you if you are logged on remotely. >> =A0* doing reboot remotely ends with a timeout since the network is >> shutdown before the ssh session gets killed by the final killall. >> =A0* /etc/init.d/sshd restart would not disconnect you >> >> Now: >> =A0* /etc/init.d/sshd stop will kill your running ssh sessions and you >> will get disconnected >> =A0* doing reboot remotely shoudl give you a clean disconnect >> =A0* /etc/init.d/sshd restart will not disconnect you >> >> So basicly, this is just a heads up to be careful when you are logged >> on remotely via ssh: Do *not* run '/etc/init.d/sshd stop' You will get >> disconnected. Running '/etc/init.d/sshd restart' should be safe >> though. >> >> > > > > --- > Unsubscribe: =A0alpine-devel+unsubscribe@lists.alpinelinux.org > Help: =A0 =A0 =A0 =A0 alpine-devel+help@lists.alpinelinux.org > --- > > --=20 Natanael Copa --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---