From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Tramp timeout for currently unreachable connections? Date: Thu, 12 Sep 2024 16:47:39 +0200 Message-ID: <877cbhj5dg.fsf@gmx.de> References: <87ed5p54dx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4949"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Visuwesh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 12 16:48:27 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sol7T-0001Bf-5n for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Sep 2024 16:48:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sol6v-0000s2-35; Thu, 12 Sep 2024 10:47:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sol6r-0000gU-W8 for help-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:47:50 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sol6q-0007ni-3g for help-gnu-emacs@gnu.org; Thu, 12 Sep 2024 10:47:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1726152461; x=1726757261; i=michael.albinus@gmx.de; bh=7YE7NgqFPkAn4ZYe5fSyQeN0HJAzT2f/Wa8i/3mkh0s=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=aWF58QTHKnULc3gIEBCW3O1kaej+dSrmJupZAkrrvm7USP/5okLac4YBaUX6uqtN zvN9Sm7en2T3qR7w8PUfaDZnnFRk4ktVdk/w3wrDHnp7JQIVcA7ooNk7UQdEaNIy/ o9Q1Et0zEN+0B8/cw0WWf3x1lwUJ3zoJIJx8k1+43Opvbrzmd8gDo0pgUCK9TIMx3 wTBw2PbB6bTED3YuyojEU30cOQbLiZvz6IVLMCoWfzzTxQnyfhrodKCx3o+19b6/x 6uBDuMqedKWsU9xERQ/Dja+6SoBvk23STMJIn79z6fWN0H+tZ9HV1Guu17w6VFe8x kJ1NFYu1VtuJ+VPGog== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N6sit-1rwJYB3eYx-00vqPg; Thu, 12 Sep 2024 16:47:40 +0200 In-Reply-To: <87ed5p54dx.fsf@gmail.com> (Visuwesh's message of "Thu, 12 Sep 2024 20:02:42 +0530") X-Provags-ID: V03:K1:gTDfuuuOg+7F4auJHSbdtb0MfvKBADH+Y+ux6Z88DYbaNR/22kB 53FTlzNu/DtwTK3yE+9P1EObyhO3dUDcxSJ/nSVxSygPsE8BBK0IoDTAjkbe3kUEhieBfLs favtc1aPBMOqR4mOGMt96eI1m1AdxSWzEPsuPpI/GLhFyY8tfuB+WSnCuC7PmXl71eX6KKY WkxUKDtmrHrCL1PVdIgXw== UI-OutboundReport: notjunk:1;M01:P0:QpnmvP2BZ3o=;SfL+A429hohmXDXQZ+jDc/6OoRR wb6LmEbIhJbnodriyGDPYKAOSB8elsOEktTbFcdRsnJp6b1MPsuOEYdAnCjOAwv4PFPz7860l BJKlHxPC+Qxqjs+tb+FODXbS28Tf1l1EOQX+gW8eNITogtqmwM9KbM63Mrts2ApEOetNwLROY UJsTcyHvFTkcz/XeSjny6XAnrOIBci4aYBWyCxD7UjkrBkhMqZhdESGbEdz237ao9ufPiOmL8 ZEeIYqVsJ3Z1tcAjcvi4MpbT+xRwXJWvb19QOfAjxrxNk7J/ZgBkbKZ1ZjC79DqV5JWlZVa6D zRjz/C8NwGAWcrSFPLk7gJaiSwVmS07kG9ln2YOMAHAcOs+okUAhbwB59nixGJt1Afq0NOaSi +erp5o37fRXsFfTSUnM3WTzD6Nmc+DLOCFknVXYiiz2ioea/tQZHkILVZ7EYdBetvAGk60tRh x0vptTKLoAYf36FM5ZF4WGsBvXlvLyuLG5eRSszlrAiIA8SZdXExUlEt6AwwfRgP+zu9nRq2u qpJsRc7WlRf8iw5bUAFKWDHOmKJdvYja3UgQ3DAilMRxn1LEpDyV1K9kh7fP/JQrj3elZnXNm ot11LkQqwb/UeQPuxRq+VxM/zpZ+E+v2W74N/2Jhe+eCnhIWNvOhJjo2jDA6S7pzSqHOL0vNL rWlH/RR8W7ytYbyujvC9rI30Niyn6kTk6+sbt2xMYXxI2TQowPYQzgRejbO1AbL5AaD99KakZ +ghrhwFbxOHUmBVr5kbiJiwuwUdD1ud15O2NxPdTtOh7wehAZyaLnLnuQy5raPxoeW3m9klI Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147960 Archived-At: Visuwesh writes: > Hello all, Hi Visuwesh, > I know that non-essential=t prevents Tramp from establishing new > connections but is there a way to make Tramp use a very short timeout > when trying to connect to a previously established connection that is > now unreachable? What I mean is: if I am connected to a remote host via > a ssh connection /ssh:user@remote: and my internet connection goes down, > I do not want Tramp trying to fetch remote resources forever. Use 'M-x tramp-cleanup-connection'. Play with user option `tramp-connection-timeout'. > Thank you. Best regards, Michael.