delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/27/14:38:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=x1tmzHFfAfahV8zRwtC8UOm361ct6
TcbQLxzpZObsmHtxgfqFir8IdDW6QwMMcWFlTvYG3tpiW6IafZEbcenwp6lbUPGF
u3RuGzaZmG4f1U5Qjr/nf3A1wzdRu85StCTOsYhO1+PUG6BXUAba2eQKpovopXFs
8TC2bh9xT871pY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=OJO+sfrGp+VSfuWNFBtC4CvnNc4=; b=iae
2UxJyS1eKcT6NFqAo8sCvjwzIez+bXqtY7UFSVnIWDWnzBydfYM8Bp6R1WjWB4eM
g3mynzJLVWFEkP4Neo9zQa5dMGF+q6VHrpT1U6zgQzo8PeEHrFmZAgg4W7fok6e4
aRnTPv37i8Fj5qUWlM8+GsUVVtNQm1PYeJyWuzlI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
X-ASG-Debug-ID: 1453923432-071d9c100ec29220001-w5GHUG
X-Barracuda-Envelope-From: maloneybw AT tamug DOT edu
X-Barracuda-Apparent-Source-IP: 165.91.133.107
From: Brendan Maloney <maloneybw AT tamug DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 19:37:11 +0000
Message-ID: <E74021DAB8E02E4EA9488102CEEEC3A001FF7EBC18@MAILSTORE.tamug.edu>
References: <E74021DAB8E02E4EA9488102CEEEC3A001FF7EB744 AT MAILSTORE DOT tamug DOT edu> <9E432063679449A284B1860E8E6D1EFA AT planet DOT ftn DOT fedex DOT com>
In-Reply-To: <9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com>
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
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0RJcISG017631

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Bob Coho
Sent: Wednesday, January 27, 2016 10:08 AM
To: cygwin AT cygwin DOT 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 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 AT cygwin DOT 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 <servername>+<username>.  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 "<servername>+" 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


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


- Raw text -


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