public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Bob Coho" <robcoho@verizon.net>
To: <cygwin@cygwin.com>
Subject: Re: Issue Setting up SFTP/OpenSSH on Multiple PLatforms
Date: Wed, 27 Jan 2016 19:37:00 -0000	[thread overview]
Message-ID: <9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com> (raw)
In-Reply-To: <E74021DAB8E02E4EA9488102CEEEC3A001FF7EB744@MAILSTORE.tamug.edu>

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

  reply	other threads:[~2016-01-27 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  4:53 Brendan Maloney
2016-01-27 19:37 ` Bob Coho [this message]
2016-01-27 22:36   ` Brendan Maloney
2016-01-28  0:27   ` Brendan Maloney
     [not found]     ` <91DCAC3CB99C724EB365BB64677FBE7B028E14@MX204CL04.corp.emc.com>
2016-01-28  1:12       ` Brendan Maloney
2016-01-28 17:02         ` Gluszczak, Glenn
2016-01-28 17:02         ` Gluszczak, Glenn
2016-01-27 22:13 Issue Setting up SFTP/OpenSSH on Multiple Platforms Brendan Maloney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E432063679449A284B1860E8E6D1EFA@planet.ftn.fedex.com \
    --to=robcoho@verizon.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).