After 1.5.0 upgrade, keeps prompting for ssh username

View: New views
5 Messages — Rating Filter:   Alert me  

After 1.5.0 upgrade, keeps prompting for ssh username

by stuart feerick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had been using TortoiseSVN 1.4.8 connecting to a Linux machine with ssh.  The
server's hostname is linux01.  I have Pageant running with my private key
imported and I have a Putty config called 'linux01' which connects to that host
and logs in as user stuartf.  I can start Putty, double-click on the linux01
session and it connects and logs in without needing to type any password or
passphrase.

But on upgrading to 1.5.0 this has stopped woking. Initially I had assumed
Tortoise SVN was the problem, but I see identical behaviour from the command
line client.  As a test case I am attempting a fresh checkout
since that doesn't require a working copy (so we can rule
out the working copy being corrupt somehow).  The repository URI is

    svn+ssh://linux01/home/svn/vs

or giving the username explicitly,

    svn+ssh://stuartf <at> linux01/home/svn/vs

These used to work with 1.4.8 but now both prompt for a username. When I enter
a username I am told that the Connection has closed unexpectedly.  How can I
make it realize that it should log in as stuartf using the private key I have
loaded in Pageant?

FTR I am using the following version:

svn.exe" --version
svn, version 1.5.0 (r31699)
   compiled Jun 20 2008, 22:11:29

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

Thanks for any help,

Stu
--
stuart_feerick@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: After 1.5.0 upgrade, keeps prompting for ssh username

by Eric Lee-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Did you tried modify the svnservie.conf file on you repository as following ?


[general]

anon-access = read
auth-access = write


to


anon-access = none
auth-access = write

----------------------------------------------------
Get subversion, phpBB 3
http://myprojects.srhost.info
eric[at]myprojects[dot]srhost[dot]info


----- Original Message -----
From: "stuart feerick" <stuart_feerick@...>
To: <users@...>
Sent: Thursday, July 03, 2008 8:35 PM
Subject: After 1.5.0 upgrade, keeps prompting for ssh username


: I had been using TortoiseSVN 1.4.8 connecting to a Linux machine with ssh.  The
: server's hostname is linux01.  I have Pageant running with my private key
: imported and I have a Putty config called 'linux01' which connects to that host
: and logs in as user stuartf.  I can start Putty, double-click on the linux01
: session and it connects and logs in without needing to type any password or
: passphrase.
:
: But on upgrading to 1.5.0 this has stopped woking. Initially I had assumed
: Tortoise SVN was the problem, but I see identical behaviour from the command
: line client.  As a test case I am attempting a fresh checkout
: since that doesn't require a working copy (so we can rule
: out the working copy being corrupt somehow).  The repository URI is
:
:     svn+ssh://linux01/home/svn/vs
:
: or giving the username explicitly,
:
:     svn+ssh://stuartf <at> linux01/home/svn/vs
:
: These used to work with 1.4.8 but now both prompt for a username. When I enter
: a username I am told that the Connection has closed unexpectedly.  How can I
: make it realize that it should log in as stuartf using the private key I have
: loaded in Pageant?
:
: FTR I am using the following version:
:
: svn.exe" --version
: svn, version 1.5.0 (r31699)
:    compiled Jun 20 2008, 22:11:29
:
: Copyright (C) 2000-2008 CollabNet.
: Subversion is open source software, see http://subversion.tigris.org/
: This product includes software developed by CollabNet (http://www.Collab.Net/).
:
: The following repository access (RA) modules are available:
:
: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
:   - handles 'http' scheme
:   - handles 'https' scheme
: * ra_svn : Module for accessing a repository using the svn network protocol.
:   - with Cyrus SASL authentication
:   - handles 'svn' scheme
: * ra_local : Module for accessing a repository on local disk.
:   - handles 'file' scheme
:
: Thanks for any help,
:
: Stu
: --
: stuart_feerick@...
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: users-unsubscribe@...
: For additional commands, e-mail: users-help@...
:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: After 1.5.0 upgrade, keeps prompting for ssh username

by stuart feerick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Lee <eric <at> myprojects.srhost.info> writes:

 

> Did you tried modify the svnservie.conf file on you repository as following ?
>
> [general]
>
> anon-access = read
> auth-access = write
>
> to
>
> anon-access = none
> auth-access = write

Thanks for the suggestion. I have just tried this with no effect.  I am still
prompted for a username, and still immediately disconnected.

Stu


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: After 1.5.0 upgrade, keeps prompting for ssh username

by stuart feerick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

stuart feerick <stuart_feerick <at> hotmail.com> writes:

I've now fixed this.  The problems occurs (I think) if your Putty client has a
default session with the same host name as the one you actually set up for
svn.  I suspect plink just uses the first session with the right host name.  
As the default session can't store an auto-login all sorts of havoc ensue with
the session name ultimately being sent as a command.

Modifying the Default Putty session to have a blank host fixes the problem.

Stu





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: After 1.5.0 upgrade, keeps prompting for ssh username

by mnereson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

stuart feerick wrote:
stuart feerick <stuart_feerick <at> hotmail.com> writes:

I've now fixed this.  The problems occurs (I think) if your Putty client has a
default session with the same host name as the one you actually set up for
svn.  I suspect plink just uses the first session with the right host name.  
As the default session can't store an auto-login all sorts of havoc ensue with
the session name ultimately being sent as a command.

Modifying the Default Putty session to have a blank host fixes the problem.

Stu
Stu seems to be right. My default putty had a url and a port setting. I cleared the url and ensured the port was on 22 then saved to default settings. Tortoise works now.  Thanks Stu.