[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    svn+ssh authentication on windows, wrong author (sshd_server)
From:       Timo Thomas <t.thomas.mailing () geodok ! de>
Date:       2006-07-31 8:31:11
Message-ID: 44CDBFCF.60303 () geodok ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic