X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 417093833006 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1627891829; bh=HOx2Zkl2BaOAIJ3a4y25+o7Ik1PqwYvbP+IsSmlpvZA=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pvqK5WBrxxdl/vBaw7yJ4uM+zcZPqtCaxwt8pxxsR9gS2809+m/GAviaqcO355ua+ loIFWc5gvF7TWQWrEUWciiCNnuFyQyR/72pb6ymueVN/I2+j9QkJnzQ3hswYZ47JIJ I5IxGeoT4XDLFYWJge2ZP34WnRwOheCPo6Qs60Cc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1F8143833023 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sw1XY51yiLNq1K1dAZdhZL4ptEppH87bmFcxi9pz7Eg=; b=tUhpQCacB1L9RKQrJZVgz9fpIEfTCuw9fU3wbkzu3mdlSMoUN8nhg2J53n3jff4JPa MRzyUKCVoUo0wkskuHU78Zb+h2jvwgR1n1l8AJ8MBFRxwcqEf+8Xaw7d2iFtx4wcL6Le XMf7dh4nbQB20XzTLbRBUIyVi6Y+cYITy9K0q4nF+j1ezpHa9a1nkK0v2yd56cGSGkcq UQ4J9KCVIhYsaiB2CyLCGVtw5Euio4imBymK/7IaZ2n4yVVlZ7SRa/0BKC4r+p6iB1mU OYH2ydj4QNBCxPXj3z7d2ZlU3nykfUX2YDh1eriW89NzK0or8BGPV+FFsRIbIGGmXpzr fKig== X-Gm-Message-State: AOAM530vcpfXXQsfk1SPCQ5xcf2GY6Mqy+FeZ4CUMgPgZh9jpK8eIgtx 7oZQsbW5sz3hsCggxFW1pJ25OlfWBDRWeYUfQe6NfVncsgI= X-Google-Smtp-Source: ABdhPJwS3GnRwFYv1+u02nrKs0phLV8jy22W+YsG+Dv+zGdDF7pjtN1cdok1mtilSMVZAnFnUTEsIXbqI+dBVO+8bW0= X-Received: by 2002:a05:6214:a93:: with SMTP id ev19mr15341347qvb.27.1627891749629; Mon, 02 Aug 2021 01:09:09 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 2 Aug 2021 10:08:58 +0200 Message-ID: Subject: Ssh key sync problems between linux server and windows server To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Roberto Sabelli via Cygwin Reply-To: Roberto Sabelli Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1728ATMX025282 Hi everyone, I have this problem that I can't solve: I have a linux server (Red Hat Enterprise Linux 6 64bit) and a Windows server (Windows Server 2016 Datacenter). CYGWIN v. 1.5.22 is installed on the Windows server. If I make an SSH connection between the Linux server and the Windows server and I try to copy a file from the linux machine to the windows machine everything works. If I restart the Windows server and try to connect and to copy a file again I get this error: *+ ssh username AT linuxserver '[ -d /cygdrive/c/pippo/pluto/gio/DS ]’* *+ '[' 66 -eq 0 ']’* *+ echo '[ERROR] Folder /cygdrive/c/pippo/pluto/gio/DS doesn't exist’* The problem persists for some time (it can be minutes or hours) then as if by magic it resolves itself and everything works again. It seems that the ssh session opens correctly but cannot find the path in the Windows machine but I assure you it exists. This happens every time the Windows server restarts or even just the CYGWIN sshd service. Do you have any ideas to help me? Thank you all for the support. Roberto -- 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