delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 52TJd0eo943153 |
Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 52TJd0eo943153 |
Authentication-Results: | delorie.com; |
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=bTd3dp8E | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 798973858435 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1743277139; | |
bh=3gjOZ/njS//mff87qPXXFyAJNjTLpWyw3qu9/j+fNkQ=; | |
h=Date:To:cc:Subject:In-Reply-To:References:List-Id: | |
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: | |
From:Reply-To:From; | |
b=bTd3dp8ET/nL0e2uyDjOnyfTtfsnf/e9gQvs5XbmdsPP75dKPnbqRTxhrwrmqBf0o | |
P5V1PBZ1L1Kdd6eWxSvSYmwNMiwnYwynn/x88dEmiUvpDrNMgZF6QsOH1iQsPDdBGa | |
+P4c2YtWC0/3zlaNmGgWZdMNJP7IlX/s1KxFXWOM= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 0FCFD3858D1E |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 0FCFD3858D1E |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743277115; cv=none; |
b=O5Wwib7hVj01odlTIlc3Du7I4cJ12hBGea1l7/Czcd4an+C7S4qI21X9WV3VQ1GnsfIzCBtblp19OhnLI2b8Y6LFoRLiSCwGmWvp1QBJoY6PBADNxAMcNkPe7NkE4XQeb+Xetwlo8iHVBXe311fT2Tak4Vvt+o0NYC0OFDpPNqQ= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1743277115; c=relaxed/simple; | |
bh=JdWwdff7ofPfEcL6PF1UUQrAuxeiLAznRks72cRKOII=; | |
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; | |
b=B5IlSL21wg5RlZgbQqQFYqo2tGkBKsMtSugwmoby7fiuRJVrT8q/yMf6hBC9tbXie2l0LrNB3XrWijkU0VT8hDY7R1fvuO3731/qy8UNE+7aklCeyWjVyB+iMItRIZiFONpC6w2GpXWLF/MyVPjJtQzxbMvYsKjuLxKzKTZjhJw= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 0FCFD3858D1E |
Date: | Sat, 29 Mar 2025 12:38:34 -0700 (PDT) |
X-X-Sender: | jeremyd AT resin DOT csoft DOT net |
To: | Soren <somian08 AT gmail DOT com> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: sshd times out and disconnects client |
In-Reply-To: | <CAGB_HuRNNw3QK2O6=Pi7PnxEJ4XTPK_hkcRvP1jgR1SaZjbruA@mail.gmail.com> |
Message-ID: | <38d3017d-7147-baba-d590-e6222f3440b9@jdrake.com> |
References: | <eb4f5785-f6ae-ad0b-0ebf-25faaae64c61 AT mindspring DOT com> |
<CAGB_HuRd20=5x5qLoFpeEY5Qy+bw4=bZ6AkNHuL0QKeMY+5xFQ AT mail DOT gmail DOT com> | |
<CAGB_HuRNNw3QK2O6=Pi7PnxEJ4XTPK_hkcRvP1jgR1SaZjbruA AT mail DOT gmail DOT com> | |
MIME-Version: | 1.0 |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Jeremy Drake via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Jeremy Drake <cygwin AT jdrake DOT com> |
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Sat, 29 Mar 2025, Soren via Cygwin wrote: > I'll add a bit more information in hopes that we can still find a fix. This > Windows 10 laptop goes into "sleep mode" after a couple hours of no > keyboard or mouse input, and when it does so sshd disconnects any sessions. > > Also, I remember hearing of a "mouse jiggler" utility that would simulate > use of the mouse to keep Windows from going to sleep, but that was years > ago. If such a thing still exists, maybe a list reader knows about it. Sure, you could do a mouse jiggler, but I'd just have something that periodically calls SetThreadExecutionState (ES_SYSTEM_REQUIRED) while an ssh session is active. The remarks say "The system automatically detects activities such as local keyboard or mouse input, server activity, and changing window focus. Activities that are not automatically detected include disk or CPU activity and video display." It seems like ssh keepalive should count as server activity, but apparently not. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |