Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 28 Mar 2002 15:02:23 +0000
Message-ID: <8128-Thu28Mar2002150223+0000-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
To: Daniel Holtkamp <holtkamp@riege.de>
Cc: cygwin@cygwin.com
Subject: ntsec, ssh and cygwin
In-Reply-To: <10911087122.20020328154252@riege.com>
References: <10911087122.20020328154252@riege.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2SF3Or13879

On Thursday 28 Mar 02, Daniel Holtkamp writes:
> Hello everyone,
> 
>    I´m using cygwin for some time now but today i ran into a problem.
>    I´ve got a user-request that they want to be able to scp files to a
>    host without entering their password everytime. No problem i
>    thought, deploy the public-key on the server and that should do it,
>    but it won´t work.

Well there's a bit more to it than that but we don't know if you did
the steps or not.  I don't think that ntsec is a prerequisite for
using ssh-agent.  I found it to be a prerequisite for logging in to my
domain account, but that's another story.

>    I´ve read some manual stuff and came to the conclusion that i
>    should use the ntsec variable. I do this because i think the
>    problem lies with the file-permissions on the ~/.ssh/id_rsa file
>    (group and world readable). Well, no problem, set the variable,
>    fire up cygwin and what happens ? Everything is messed up, can´t
>    even write to my home-directory anymore. I think it´s because i´m a
>    domain-user and not the local computer user. I reinstalled Cygwin
>    several times and always ran into the same problem. (Domain user is
>    not included in /etc/passwd ... only the local ones).

So add it then.  Use mkpasswd -d & mkgroup -d to determine the right
entries.

David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

