From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116719 invoked by alias); 17 Oct 2017 19:32:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 116710 invoked by uid 89); 17 Oct 2017 19:32:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_50,GIT_PATCH_2,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=retried, H*r:2002, Hx-languages-length:1049, logon X-HELO: VSNSBIODMZEDG01.DFO-MPO.GC.CA Received: from vsnsbiodmzedg01.dfo-mpo.gc.ca (HELO VSNSBIODMZEDG01.DFO-MPO.GC.CA) (205.193.112.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Oct 2017 19:32:28 +0000 Received: from DFNSB2YwpHC003.ENT.dfo-mpo.ca (142.2.12.35) by VSNSBIODMZEDG01.DFO-MPO.GC.CA (142.2.40.129) with Microsoft SMTP Server (TLS) id 14.3.339.0; Tue, 17 Oct 2017 16:32:44 -0300 Received: from SVNSBIOMBX01.ENT.dfo-mpo.ca ([fe80::1ed:ea1:ebb5:e9f4]) by DFNSB2YwpHC003.ENT.dfo-mpo.ca ([2002:8e02:c23::8e02:c23]) with mapi id 14.03.0339.000; Tue, 17 Oct 2017 16:32:25 -0300 From: "Fournier, Danny G" To: "Gluszczak, Glenn" , "cygwin@cygwin.com" Subject: RE: ERROR: A specified logon session does not exist. It may already have been terminated Date: Tue, 17 Oct 2017 19:32:00 -0000 Message-ID: <513AA0729B894545B2D793D01FFF8B6D471A0D3B@SVNSBIOMBX01.ENT.dfo-mpo.ca> References: <513AA0729B894545B2D793D01FFF8B6D4719B909@SVNSBIOMBX01.ENT.dfo-mpo.ca> <91DCAC3CB99C724EB365BB64677FBE7B1EFC1B60@MX204CL04.corp.emc.com> <513AA0729B894545B2D793D01FFF8B6D4719B986@SVNSBIOMBX01.ENT.dfo-mpo.ca> <91DCAC3CB99C724EB365BB64677FBE7B1EFC1B90@MX204CL04.corp.emc.com> <513AA0729B894545B2D793D01FFF8B6D4719BB61@SVNSBIOMBX01.ENT.dfo-mpo.ca> <91DCAC3CB99C724EB365BB64677FBE7B1EFC1C9B@MX204CL04.corp.emc.com> <513AA0729B894545B2D793D01FFF8B6D471A0719@SVNSBIOMBX01.ENT.dfo-mpo.ca> <91DCAC3CB99C724EB365BB64677FBE7B1EFC501E@MX204CL04.corp.emc.com> In-Reply-To: <91DCAC3CB99C724EB365BB64677FBE7B1EFC501E@MX204CL04.corp.emc.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00158.txt.bz2 Here's what I just did: 1. created new local administrator account 2. ran mkpasswd -l > /etc/passwd 3. removed all instances of server name in /etc/passwd (ie. MYSERVERNAME+) 4. remotely connected successfully 5. successfully ran schtasks, it listed all jobs configured=20 I just retried with the other user, where I connect specifying a shared key= and got the error message. For good measure, I changed the password on the problematic user, connected= directly without the key and provided the password. I then ran schtasks an= d it ran fine. It listed all the jobs configured. It would seem that our issue is related to connecting over SSH using a shar= ed key. -----Original Message----- From: Gluszczak, Glenn [mailto:Glenn.Gluszczak@dell.com]=20 Sent: October-17-17 11:08 AM To: Fournier, Danny G Subject: RE: ERROR: A specified logon session does not exist. It may alread= y have been terminated Does ssh with Administrator and running schtasks fail as well? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple