victor hooi wrote:
NB: I found this:

http://erdelynet.com/archive/ssh-l/2003-01/1056.html

<shudder>  Glad to see you searched the web though.

which had a similar issue, but not quite the same,
unfortunately.

I have a Windows box  I'm attempting to back up using
RSnapshot, running cwrsync and Cygwin sshd
(OpenSSH_4.5p1).

The client from which we're running Rsnapshot is a
Linux box.

On the Linux box, I've generated a keyset using:

        ssh-keygen -t rsa

and a blank passphrase.

I copied id_rsa.pub to the Windows box, and added the
key to "authorized_keys" in "C:\Documents and
Settings\Administrator\.ssh".

Ugh. Spaces in the path.  That's just asking for trouble.
I recommend that you at least mount C:\Documents and Settings
(and Stuff. Oh My!) to /home and make sure /etc/passwd is using
the /home path.

On the Linux box, trying to log in using "ssh
[EMAIL PROTECTED]", I get:


<snip>


I've tried going the other way - generating a keypair
on the Windows box using the cygwin version of
ssh-keygen, copying cygwin's id_rsa.pub to the Linux
box, and adding it to root's .ssh/authorized_keys.
That worked fine.

I've tried the Linux keypair in loopback - that is,
copying the Linux box's public key (id_rsa.pub) to
it's own authorized_keys, and logging in to localhost,
passwordlessly. That worked fine.

And did you try the same on Cygwin?

In the Event Log on the Windows box, I have:

The description for Event ID ( 0 ) in Source ( sshd )
cannot be found. The local computer may not have the
necessary registry information or message DLL files to
display messages from a remote computer. You may be
able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The
following information is part of the event: sshd: PID
3608: fatal: seteuid 500: No such process.

And that makes me wonder what Windows platform you're
running on and how you're running the service, which
leads me to worry that maybe you've spent too much time
at erdelynet.com.  So now is a good time to read and
follow the problem reporting guidelines outline here:

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

We need information about your configuration, including
details of how you set up sshd, if you're still having problems.

Also, I've blown my .ssh directory away a few times,
and re-generated the keys with ssh-keygen, there's
nothing wrong with doing that, is there?

Well, if you have no respect for the .ssh directory, then
that's fine.  I wouldn't wander into any ssh neighborhoods
alone for a while though. ;-)


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

Reply via email to