Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-09-2010, 09:47 AM   #1
LQ Newbie
Registered: Sep 2009
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 8

Rep: Reputation: 0
svn over ssh repeatedly asking fro password

Im running Ubuntu 10.04 with the latest updates and im connecting from windows xp using tortisesvn.

When I do :
I can connect just fine. The problem is that im asked 3 times for my password before the folder will display. I guessing its 3 times because the repo is 3 levels deep. In tortise if I click a folder to go another level deeper im asked for my password again. "Connection_name" is the name of the connection profile I setup in Putty which is used by tortise via plink. I tried setting up a auth key but that didnt help either. If I use putty to open up the "connection_name" ssh connection, im only asked once for my password and can operate as normally expected.

Anyone have any ideas how to keep this from happening?
Old 08-09-2010, 10:54 AM   #2
LQ Newbie
Registered: Sep 2009
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 8

Original Poster
Rep: Reputation: 0
think i found my answer...even though i have been googling this for a week

When using*svn+ssh://*URLs to access a repository, remember that it's the*ssh*program prompting for authentication, and*not*the*svn*client program. That means there's no automatic password caching going on (see*ch06s02.html#svn-ch-6-sect-2.2). The Subversion client often makes multiple connections to the repository, though users don't normally notice this due to the password caching feature. When using*svn+ssh://*URLs, however, users may be annoyed by*ssh*repeatedly asking for a password for every outbound connection. The solution is to use a separate SSH password-caching tool like*ssh-agent*on a Unix-like system, or*pageant*on Windows.

ill post an update if this works
Old 08-09-2010, 11:44 AM   #3
LQ Newbie
Registered: Sep 2009
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 8

Original Poster
Rep: Reputation: 0
So I got this to work now...this might not be the most secure way to do this
I recreated ssh keys and set them up to be passwordless
In Tortise under settings in the Network section I blanked out the field for what ssh client you are using
I then opened up tortise> repo-browser address window and entered this:
Obviously you fill in your own info. As long as you are able to ssh to your machine and not have to enter a password because you authenticate with your key then i think this should work for you also in Tortise

Relevant links:
generating ssh keys:

This page might also be helpful:

Last edited by snicklefritz; 08-09-2010 at 11:46 AM.
Old 12-17-2010, 08:35 PM   #4
LQ Newbie
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Need to use ssh agent

What you really need is an ssh agent that will take care of your credential for you. You seem to have the first part setup properly (SSH with RSA/DSA keys), now take a look at the end of this howto: to see how to setup the agent. And please put back a password in your key file, with the agent you'll only need to enter it once.


ssh, svn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to assign user name and password for reposetory in svn Linux - Server 1 09-17-2009 08:46 AM
Enable ssh in svn lakshmi4linux Linux - Newbie 5 03-23-2009 07:28 AM
Setting up svn+ssh yitzle Linux - Server 0 09-01-2008 10:39 PM
svn+ssh hgb Linux - Server 1 10-10-2006 06:35 AM
SVN and Apache, multiple password prompts watsoncj Linux - Software 0 10-10-2005 01:36 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration