This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can not log in to recently enabled/configured sshd service


Alfred von Campe wrote:
On Feb 6, 2008, at 9:55, Dave Korn wrote:

  How do the perms on /home/av16209/.ssh/* look?  How do they look with
CYGWIN=smbntsec?

Interesting. I had CYGWIN set to "binmode tty ntsec" according to some instructions I found by googling. Here are the relevant results:


  bash-3.2$ CYGWIN=ntsec /bin/ls -ld ~/.ssh
  drwxr-xr-x 1 av16209 Domain Users 0 Feb  6 09:28 //solid/av16209/.ssh
  bash-3.2$ CYGWIN=smbntsec /bin/ls -ld ~/.ssh
  drwx------+ 1 av16209 Domain Users 0 Feb  6 09:28 //solid/av16209/.ssh

So it appears that CYGWIN=smbntsec is what I want. How can I reconfigure the sshd service to use that setting?

If you want this enabled indelibly just for the sshd service and you don't want to go skulking around in the registry, you can re-run ssh-host-config and specify 'smbntsec' as one of the settings when it asks you what you want for the service. This is a good thing to do because it allows you to be specific about the settings each service gets. Otherwise, if you want the setting globally, just set it in the CYGWIN environment variable and restart all Cygwin services.

--
Larry Hall                              http://www.rfk.com
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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]