From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127538 invoked by alias); 27 Jan 2016 16:08:44 -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 127426 invoked by uid 89); 27 Jan 2016 16:08:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS,STOX_REPLY_TYPE autolearn=no version=3.3.2 spammy=HX-MIMEOLE:Produced, HX-MIMEOLE:Microsoft, HX-MIMEOLE:MimeOLE, Prior X-HELO: vms173017pub.verizon.net Received: from vms173017pub.verizon.net (HELO vms173017pub.verizon.net) (206.46.173.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 27 Jan 2016 16:08:42 +0000 Received: from BUFD765 ([68.133.10.232]) by vms173017.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O1M00LYVCTRQX50@vms173017.mailsrvcs.net> for cygwin@cygwin.com; Wed, 27 Jan 2016 10:08:16 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=MtGvkDue c=1 sm=1 tr=0 a=loV/cOwDKL3O7S4QGcfsmA==:117 a=8nJEP1OIZ-IA:10 a=7aQ_Q-yQQ-AA:10 a=w_pzkKWiAAAA:8 a=Kqy2B3IpeUzF0XJ_W7MA:9 a=pDq9BS_IvgZx3z9Q:21 a=TvBVeCYep6mZH1xM:21 a=wPNLvfGTeEIA:10 a=buB1NfXUTBUA:10 a=IfQ-iFkkCvMA:10 Message-id: <9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com> From: "Bob Coho" To: References: In-reply-to: Subject: Re: Issue Setting up SFTP/OpenSSH on Multiple PLatforms Date: Wed, 27 Jan 2016 19:37:00 -0000 MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00391.txt.bz2 Brendan, Is your Windows server running Windows 10? I had a similar issue and installing Openssh 7.1p1-1 solved this issue. Openssh 7.1p2-1 had no issues with Windows 7 or XP, but I could not get it to work with Windows 10. I don't have access to a Windows 8 environment so I can't say if it will work or not. -----Original Message----- From: Brendan Maloney Sent: Tuesday, January 26, 2016 6:33 PM To: cygwin@cygwin.com Subject: Issue Setting up SFTP/OpenSSH on Multiple PLatforms I've done this once before (Prior to the posix user release of openssh) and I had no problems setting up SFTP on a windows server. Now I'm trying to do it again and I'm running into nothing but weird problems. I followed the normal package installation and ran the ssh-host-config installer which seemed to run fine. Inititially I thought the POSIX change for users would be great except that this is a domain machine and it allowed all of my domain users access to SFTP when I only wanted that access available to the local users I specified. Going back to my roots I created the /etc/group and /etc/passwd files to manage my user accounts. Now here is where it starts to get weird. By default now the users populate the passwd file as +. When it's configured like this I cannot successfully connect via sftp (I'm using Filezilla) to the server. What I ended up having to do was manually edit the file and take out the "+" of the passwd file for the users I wanted to have access. Now I can login to the server successfully, but weirdly enough this ONLY works on a PC. I'm also trying to get a mac to connect (also using FIlezilla) and it won't connect at all. I've also tried just using the sftp command line tool in os x and it just immediately drops the connection. Ultimately I'm trying to get some scripts migrated from running FTP on this server to running SFTP. I'm using psftp on the windows machine which works just fine (same as filezilla does) and it's able to run my batch script just fine. I was trying to do the same thing on the mac by using the sftp command and setting up public/private key authentication (which I still haven't figured out partly because I'm obviously having these other issues with the connection in the first place so it's really hard to test. It would be great if there were some kind of log file on the Cygwin server so I could see what was failing when the macs try to connect to SFTP and the PCs connect successfully. I realize this is a lot but I'm not sure who to ask anymore and I'm really lost. I'm just a Systems Analyst and I don't work doing this kind of stuff everyday.it was just something I got tasked with doing because I have the most linux/mac experience of anyone in my department which after this little escapade feels like pretty much zero. Thanks in advance for the help Brendan -- 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 -- 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