public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with pair key auth and sftp server
@ 2009-01-26 22:49 "Benjamin Stössel"
  2009-01-26 23:28 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: "Benjamin Stössel" @ 2009-01-26 22:49 UTC (permalink / raw)
  To: cygwin

Hi there,

I hope I write to the right place.

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.

Now I switched to my user, which is domain admin and changed the group and passwd files with mkgroup -d and so on.
Changed to sshd_config file to activate RSAAuth, Logs, Authfiles, etc.

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.

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

Thanks in advance

Cheers
Ben


-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Problems with pair key auth and sftp server
@ 2009-01-27 11:53 "Benjamin Stössel"
  2009-01-28  0:00 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: "Benjamin Stössel" @ 2009-01-27 11:53 UTC (permalink / raw)
  To: cygwin

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

about the answers I used "ssh-host-config -y" so every answer was yes. And the sshd is running. Except that it throws the error about the sftp-server.

Hm, why is this?

I switched the user to set up the key pair for my own user and not the local admin. As I do not want that the local admin can connect except for console.

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

RSAAuth was in the config as comment with a # in front.

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

I did use the ssh-user-config up front, forgot to mention. And it did not work afterwards.

If you need anything like config or so let me know.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-27 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-26 22:49 Problems with pair key auth and sftp server "Benjamin Stössel"
2009-01-26 23:28 ` Larry Hall (Cygwin)
2009-01-27 11:53 "Benjamin Stössel"
2009-01-28  0:00 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).