From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6024 invoked by alias); 27 Jan 2016 19:37:17 -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 5997 invoked by uid 89); 27 Jan 2016 19:37:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.5 required=5.0 tests=BAYES_60,CYGWIN_OWNER_BODY,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Prior, analyst, roots, Analyst X-HELO: phishnet.tamug.edu Received: from phishnet.tamug.edu (HELO phishnet.tamug.edu) (184.174.192.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Wed, 27 Jan 2016 19:37:15 +0000 X-ASG-Debug-ID: 1453923432-071d9c100ec29220001-w5GHUG Received: from mail.tamug.edu (cscashub.tamug.edu [165.91.133.107]) by phishnet.tamug.edu with ESMTP id xb7hSDIg0TBzM31q for ; Wed, 27 Jan 2016 13:37:12 -0600 (CST) X-Barracuda-Envelope-From: maloneybw@tamug.edu X-Barracuda-Apparent-Source-IP: 165.91.133.107 Received: from MAILSTORE.tamug.edu ([fe80::f0b9:abca:d978:3dd0]) by cscashub.tamug.edu ([2002:a55b:856b::a55b:856b]) with mapi id 14.02.0387.000; Wed, 27 Jan 2016 13:37:12 -0600 From: Brendan Maloney To: "cygwin@cygwin.com" Subject: RE: Issue Setting up SFTP/OpenSSH on Multiple PLatforms X-ASG-Orig-Subj: RE: Issue Setting up SFTP/OpenSSH on Multiple PLatforms Date: Wed, 27 Jan 2016 22:36:00 -0000 Message-ID: References: <9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com> In-Reply-To: <9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: cscashub.tamug.edu[165.91.133.107] X-Barracuda-Start-Time: 1453923432 X-Barracuda-URL: http://184.174.192.41:8000/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.25945 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00396.txt.bz2 It's running Server 2008 RC2 so basically windows 7. Brendan Maloney Texas A&M University at Galveston IS - Programmer Analyst (409)741-7174 Please provide feedback on our services. -----Original Message----- From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of= Bob Coho Sent: Wednesday, January 27, 2016 10:08 AM To: cygwin@cygwin.com Subject: Re: Issue Setting up SFTP/OpenSSH on Multiple PLatforms Brendan, Is your Windows server running Windows 10? I had a similar issue and instal= ling 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 th= e normal package installation and ran the ssh-host-config installer which s= eemed 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 doma= in users access to SFTP when I only wanted that access available to the loc= al users I specified. Going back to my roots I created the /etc/group=20 and /etc/passwd files to manage my user accounts. Now here is where it=20 starts to get weird. By default now the users populate the passwd file as = +. When it's configured like this I cannot successfu= lly 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.=20 Now I can login to the server successfully, but weirdly enough this ONLY wo= rks 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 sft= p command line tool in os x and it just immediately drops the connection.=20 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 work= s just fine (same as filezilla does) and it's able to run my batch script j= ust fine. I was trying to do the same thing on the mac by using the sftp c= ommand and setting up public/private key authentication (which I still have= n'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 b= e 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 conn= ect successfully. I realize this is a lot but I'm not sure who to ask anym= ore 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 whi= ch 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=20 -- 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