From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14782 invoked by alias); 26 Jan 2009 22:49:19 -0000 Received: (qmail 14773 invoked by uid 22791); 26 Jan 2009 22:49:19 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail.prospeed.net (HELO mail.prospeed.net) (64.25.80.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Jan 2009 22:49:12 +0000 Received: from localhost.localdomain (lhall.prospeed.net [64.25.83.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.prospeed.net (Postfix) with ESMTP id 528992801731C for ; Mon, 26 Jan 2009 17:49:10 -0500 (EST) Message-ID: <497E3D76.5020206@cygwin.com> Date: Mon, 26 Jan 2009 23:28:00 -0000 From: "Larry Hall (Cygwin)" Reply-To: cygwin@cygwin.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@cygwin.com Subject: Re: Problems with pair key auth and sftp server References: <20090126213531.88020@gmx.net> In-Reply-To: <20090126213531.88020@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00776.txt.bz2 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: 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/