delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/03/12:10:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF636396B437
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=berkeley.edu
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=berkeley.edu
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=berkeley-edu.20150623.gappssmtp.com; s=20150623;
h=from:date:to:cc:subject:message-id:references:mime-version
:content-disposition:content-transfer-encoding:in-reply-to
:user-agent; bh=tOnwW476ntyuwHcWugFgJfKGifW+WkVFi1P7PzA0RxA=;
b=SoEbBBNgVLIM/lthV9cdGm+hcvID0wiaak5OwGVaGEaMufUN/MtkNmITlGxqW79y3O
pWNn4jfbWMmScIzBJt3QSELMRNK9V3CXcMTtKnzItuaXDU+TCElkNOQOhSgTHqD+0KVD
BixrthxTWp6dj7uHS+GaE6bPpCJtD5S/UDw6ngT2X/S4Q6o6SM+viqPl6tNwnk1IE+2r
lvwuBBfO2ED9EJ43sTmlG5JBnXZCFtS70JL/g4PVbK9iVu5E4nLx6UvfkQcBItenh7Vf
o2zoU/q1dH79mPJI9RiL7g4HRQTVrWvny3A2VRZrApvtbhLSEpTL48QcIv1avCx8XBXs
hobQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:date:to:cc:subject:message-id:references
:mime-version:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=tOnwW476ntyuwHcWugFgJfKGifW+WkVFi1P7PzA0RxA=;
b=OvlbKQrp9bRx+GIlV6H9NnlcdIoqI1l966xuNRVDOAzDwhHalh2aTkXafXyYCf4hvR
Wp7bBTdWkQSBIgdNT70eIy1jMYuBl0UN2fv71QY1vGBvFup6qb92T7SWrY/PfbCZDsdp
sMSUHc9YBociPZw2HybE8H5ZZtkVGG3A5Gqx3rR01oMzlR80lWHz/edTed2sPGEl7j/j
Y0vAiFttoIYq4tT8BUns0NdWqSyjXLK9vbCbgDO0xZInbBR/VL0EnSaqFhJ5aVp0wXeZ
jUubL+nK3xpv26jK0WkGfdUa/g6YONbHSk6TUyIepozFWe+PkXkH5MAUkL6Ipr3xZ0bG
4TzQ==
X-Gm-Message-State: AOAM530wnN9XywCtc9UHnYOTAHWUbQcjNBlwAxxLgJct3m+72/D520Q/
Khnq6ZLnclxKFUwuY8xlK9Nll3t6KPtAtA==
X-Google-Smtp-Source: ABdhPJwCZGdavhLejcXaxmRAwVZ2mWSHEOszOuSBxWJl2kXTe1jLZ2jpV2HOgM99ZVwMSf6MKTrtxQ==
X-Received: by 2002:a63:784a:: with SMTP id t71mr168237pgc.66.1628006818132;
Tue, 03 Aug 2021 09:06:58 -0700 (PDT)
From: Stephen Carrier <carrier AT berkeley DOT edu>
X-Google-Original-From: Stephen Carrier <carrier AT Berkeley DOT EDU>
Date: Tue, 3 Aug 2021 09:06:57 -0700
To: Roberto Sabelli <roby1981amz AT gmail DOT com>
Subject: Re: Ssh key sync problems between linux server and windows server
Message-ID: <20210803160657.GA15547@iguana.crashland.org>
References: <CAOvywRnBZd1DApS3TWR8PNuu4a-8PCxpgqXjEUOwerBs1rdB4Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAOvywRnBZd1DApS3TWR8PNuu4a-8PCxpgqXjEUOwerBs1rdB4Q@mail.gmail.com>
User-Agent: Mutt/1.12.2 (2019-09-21)
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, 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-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Cc: cygwin AT cygwin 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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 173GAeVY024002

On Mon, Aug 02, 2021 at 10:08:58AM +0200, Roberto Sabelli via Cygwin wrote:
> 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’*

I don't understand what I'm looking at.  Can you come up with a simple
test case?  Why do the lines end with '*'?  Echoing an 'error message'
will produce an error message but isn't really an error.  I think
folks are baffled.

Reduce to simple test case. 
(such as testing existence of remote directory and nothing else.)
What is the command?
What is the response to the command?

--Stephen

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019