[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn+ssh authentication on windows, wrong author (sshd_server)

From: Timo Thomas <t.thomas.mailing_at_geodok.de>
Date: 2006-07-31 10:31:11 CEST

Hi,

I'm running svn Version 1.3.2 (r19776) on Cygwin on a Windows 2003
Server. There's also OpenSSH 4.3p2 installed and I successfully
configured it for public key authentication from a windows XP client
using putty.

Everything is working fine using Tortoise or Subclipse, but when
committing, the author is always 'sshd_server', which is the user on the
  server the sshd service is running in. But this user should be
automatically changed when logging in with ssh (using a URL like
user@host). When using a shell and ssh-ing to the server everything
seems fine:

$ ssh user@host
Enter passphrase for key '...':
Last login: Fri Jul 28 15:32:15 2006 from ...

user@host ~
$ whoami
user

So the question is: why isn't svn taking this user information? Where
does it exactly get it's user info from?

The only way I found to set the correct user was to add a command to the
.ssh/authorized-keys file:

   command="svnserve --tunnel-user user -t" ...

But this makes normal ssh shell access impossible and is therefore not
an option for me.

Can anybody help? It spend already some hours googling and browsing
mailing lists for this issue, but couldn't find anything useful.

Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 31 10:32:31 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.