OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba

Larry Hall (Cygwin)
Fri Feb 1 18:33:00 GMT 2008

Terry Orechia wrote:
> Hi,
> I was able to resolve this issue by switching the user who runs the sshd 
> service.  If anyone else is having this problem you can find detailed 
> documentation on how to do get around this issue this at 

Some words of caution here:

The procedure outlined with the domain user as the user the service will
run as gives the domain user advanced privileges which encompass those
of SYSTEM (on <W2K3 machines) and sshd_server.  This opens a wider
security hole than just using SYSTEM (on <W2K3 machine) or sshd_server
as the service user.

If you don't need the ability to let others login via 'ssh' to the system
in question, you are better off to not alter your user's permissions at
all.  You should still be able to login as yourself and gain access to
your network shares.  By doing this, you won't be opening up the security
hole but others trying to log in will run in your user context in your case.
See <> for more

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list