This is the mail archive of the
mailing list for the Cygwin project.
RE: SFTP error 128
You need both local and domain accounts in Cygwin.
Restore your local accounts (especially root) by re-running
Then add your domain accounts by APPENDING (>>) to the passwd and group
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of
Sent: Tuesday, December 25, 2007 9:59 AM
Subject: RE: SFTP error 128
I set read & execute permission on C:\ for Domain Usera and set modify for
Domain Users on C:\Cygwin but I am still getting this error.
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email
and reclaim your inbox.
Visit http://www.spammilter.com for details.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Neil Aggarwal
> Sent: Sunday, December 23, 2007 11:22 AM
> To: email@example.com
> Subject: SFTP error 128
> I have a Windows 2003 SBS server.
> I have set up cygwin SSHD so I can connect to it remotely.
> I can SSH and SFTP to the machine successfully using the Administrator
> I want to set up a couple Domain Users to be able to SFTP files up to
> the server.
> The users are in Active Directory so I first changed the security
> policy to allow users to log on locally.
> I then created the password and group files using these commands from
> the Cygwin shell using the Administrator account.
> mkpasswd -l -d > /etc/passwd
> mkgroup -l -d > /etc/group
> Next, I logged in as one of the users, ran the cygwin shell and ran
> Now, from remote, I can ssh to the machine using the domain user's
> But, when I try top SFTP, I get error 128.
> According to something I read on the Internet, this means the domain
> user cannot execute the SFTP subsystem.
> I set permissions of read and execute for Domain Users on the entire
> C:\Cygwin heirarchy to no avail.
> Any ideas what went wrong?
> Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk
> email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html