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: Problems with pair key auth and sftp server


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/


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