delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/26/17:49:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <497E3D76.5020206@cygwin.com>
Date: Mon, 26 Jan 2009 17:47:18 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems with pair key auth and sftp server
References: <20090126213531 DOT 88020 AT gmx DOT net>
In-Reply-To: <20090126213531.88020@gmx.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Benjamin Stössel wrote:
> Hi there,
> 
> I hope I write to the right place.

Yes, it is.

> I got a problem with my cygwin setup.
> 
> I got a setup running at the moment but as I want to upgrade to the
> latest  version soon, I installed it on my test machine. Which is running a
> plain Windows Server 2008 Setup.
> 
> I did the normal setup procedure, just added a few packages like all
> basic  ones, some editors, openssh, openssl and syslog-ng.
> 
> After that I run the ssh-host-config and created the group and passwd
> files. All this has been done in local admin.

And exactly how did you do this?  What were your answers to the questions?
Is 'sshd' actually running now?

> Now I switched to my user, which is domain admin and changed the group
> and  passwd files with mkgroup -d and so on.

Hm, why is this?

> Changed to sshd_config file to activate RSAAuth, Logs, Authfiles, etc.

RSAAuth is activated by default.  Why are you changing things here before
you know the defaults work?

> Then I created the key files with ssh-keygen. After that I copied the
> id_rsa file to my local machine and created with the puttygen and .pkk file
> for putty and winscp.

Why not use 'ssh-user-config' to create your user SSH config files with
proper locations, permissions, etc.?

> And now comes the strange part where I dont get further. I tried
> everything, read everything I found for about a day with no result.
> 
> When I try to login it says, Refused our key and in the log files it says
> that the sftp-server file could not be found. Which is strange as I have not
> changed the folder where it is and did also not change the entry line in the
> config.
> 
> I hope someone can help as my boss is not happy that he has to pay all
> these hours without progress :D

We're really going to need to know what you're doing exactly and what
your configuration is:

<http://cygwin.com/problems.html>

I'd really recommend using the existing utilities for configuring 'sshd'
and 'ssh' and testing out your new configuration with 'ssh'.  This may
not be as you want it or the exact interface you're looking for but it
will help narrow down the myriad of possibilities.  I'd also recommend
looking at the email archives for others who may have had similar issues
to what you're experiencing.  There's allot of OpenSSH discussion and
help there.

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

- Raw text -


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