delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/12/14:02:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <1622.68.58.97.169.1097603970.squirrel@urbanservers.com>
Date: Tue, 12 Oct 2004 12:59:30 -0500 (EST)
Subject: Re: SSH Rsa key weirdness.
From: <admin AT urbanservers DOT com>
To: <cygwin AT cygwin DOT com>
In-Reply-To: <20041012090554.GV6702@cygbert.vinschen.de>
References: <2380 DOT 68 DOT 58 DOT 97 DOT 169 DOT 1097556410 DOT squirrel AT urbanservers DOT com> <20041012090554 DOT GV6702 AT cygbert DOT vinschen DOT de>
Reply-To: admin AT urbanservers DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

Corinna!@#

I searched the archives and dug threw about 20 pages last night comming
across many posts from you about SSH :) I tryed a lot of things but never
saw what you just pasted.

Thanks a ton! It works great and helps me automate it all now!!

Like my last comment CYGWIN has allowed me to do everything I do on Linux
[automated stuff] easily on Windows, adding users automatically is EASY!
Just like on Linux :) Im very happy with it and can't wait to get it
running on a few HUNDRED windows servers :)

Thanks again.

> On Oct 11 23:46, admin AT urbanservers DOT com wrote:
>> I am attempting to use RSA keys to connect to a user, from a remote
>> box.
>>
>> RSA keys are created on my main machine instead of the cygwin machine.
>> Normally I copy them over and change permissions, authorized_keys,
>> auth against the .pub and it works.
>>
>> If I copy my authorized_keys file over and change permissions it fails
>> to auth with the .pub.
>
> WFM.  I'm doing the same over and over again.
>
> There's just one problem on Cygwin which you don't have on Linux.  The
> authorized_keys file must be readable by SYSTEM, resp. by the user
> running the sshd service (sshd_server on 2K3 if you installed via
> ssh-host-config). You can add read perms for SYSTEM (or sshd_server) e.
> g. by calling
>
>   setfacl -m u:SYSTEM:r-- ~/.ssh/authorized_keys
>
>> If i run:
>> ssh-user-config
>
> ssh-user-config does exactly that, adding read permission for SYSTEM or
> sshd_server.  That's probably the reason it works ;-)
>
>> CYGWIN makes Windows work a lot easier for Linux guys like me :)
>
> Cool!
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
>
> --
> 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/






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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019