Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Peter Kok" To: cygwin AT cygwin DOT com Reply-To: peterkok AT peter-angela DOT com Subject: rsync question X-IPAddress: 64.141.32.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-Id: Date: Fri, 16 Apr 2004 15:44:05 -0400 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host4-server.com X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [32043 544] / [47 12] X-AntiAbuse: Sender Address Domain - host4-server.com Dear All -- Problem: using rsync with nontsec turned on. I would like to rsync from a Solaris box to a Windows 2000 Server. W2K server is running cygwin version 1.5.9. The CYGWIN variable was set to 'binmode tty nontsec'. I used nonntsec rather than ntsec to retain the NTFS permission inheritance. The permission for all newly created folders and files were set correctly as their parent folder. But, the nontsec option doesn't allow me to rsync with public key authentication. I received error message 'Read from socket failed: Connection reset by peer', and in the ssh debug log, I saw that it didn't accept my public key at all. But when I switched back using the ntsec option, the authentication went through with the same RSA public key! Q1: If I want to retain my NTFS permission inheritance, am I correct that I have to use nontsec? Q2: Could nontsec work with public key authentication? I have granted the account with several local user rights, "create token object, logon as a service' and 'replace a process level token' Thank you for your help Peter -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/