From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 16:21:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033461065676 for ; Fri, 22 Apr 2011 16:21:17 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from cc-smtpout3.netcologne.de (cc-smtpout3.netcologne.de [89.1.8.213]) by mx1.freebsd.org (Postfix) with ESMTP id B77738FC19 for ; Fri, 22 Apr 2011 16:21:16 +0000 (UTC) Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout3.netcologne.de (Postfix) with ESMTP id 5557F127CE; Fri, 22 Apr 2011 18:21:15 +0200 (CEST) Received: from llea.celt.neu (xdsl-89-0-183-45.netcologne.de [89.0.183.45]) by cc-smtpin1.netcologne.de (Postfix) with ESMTPA id 3D88211E86; Fri, 22 Apr 2011 18:21:14 +0200 (CEST) Message-ID: <4DB1AAFA.8020105@yahoo.fr> Date: Fri, 22 Apr 2011 18:21:14 +0200 From: =?ISO-8859-15?Q?Michael_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.18) Gecko/20110328 SeaMonkey/2.0.13 MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <4DAEC1A3.8070305@yahoo.fr> <4DAF44EB.90002@FreeBSD.org> In-Reply-To: <4DAF44EB.90002@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD questions Subject: Re: Subversion over SSH works through GIT but not with SVN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2011 16:21:17 -0000 Hello Greg, hello list, thank you very much for your answer, it was very useful! Greg Larkin wrote: > On 4/20/11 7:21 AM, Michael Grünewald wrote: > >> I have recently discovered that by subversion client (1.16_2) is not >> able any more to access my subversion accounts over svn+ssh (with key >> based authentication). It seems very odd to me, because in the same >> time git can access these accounts (with the git svn command) and commit >> to these repositories! > [...] > Finally, if all else fails, I run commands through truss or strace to > see if there are any strange errors generated by system calls, like a > missing library or config file, or an unexpected chdir() or chroot(). > I feel here a bit ashamed: I plainly forgot to inform subversion that my login name on the remote machine is not the same as on the local, what git has been told years ago. Your clue to use ssh instead of the svn put me on the right track. To my defence, the login name that ssh uses during its conversation is not printed on the diagnostic line when verbose output is enabled. While this information is very basic and elementary, it maybe would be useful to debug a connection (I admit, ``login name'' should stand quite high on the list of things to check when something goes wrong!) In my case, if the login names had been present in the verbose output os SSH ,I woud have spotted it by diff'ing the outputs of the successful and unsuccessful transactions. Maybe I should file a PR for this? Why do I instantly think ``login name'' when I hear ssh and not when I hear svn? Well, I hope my therapist will be able to help me sorting it out :) -- Thank you very much, Michael