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

Re: Problem with command line client for svn+ssh protocol

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 16 Dec 2008 13:06:55 -0500

When you use svn+ssh, you are using ssh to do the authentication. The
--username and --password parameters won't work. Instead, you need to
setup ssh to do the automatic authentication.

This involves creating public and private keys and swapping those
private and public keys between the two machines that are talking to
each other. In Unix, these are put into the $HOME/.ssh directory.

The setup is not all that simple to describe in an email message, and
varies from system to system. There are two different SSH protocols,
and that can affect being able to log into one system or another.
Plus, SSH can use various encryption algorithms. On top of all that,
it may also use a passphrase on top of the password.

On a Unix machine, do a "man ssh" and take a look at the stuff under
the SEE ALSO section. In this case, SEE ALSO is very well named. I've
setup successful SSH validations many times, but each time, I seem to
have to start from scratch, and it takes me several tries to get it
working. So, I'm definitely not the person to give you detailed
directions on how this is done.

Sorry I can't give you more details. Authentication in Subversion via
svn+ssh is done via SSH and not Subversion. Setting up SSH is not one
of the easier tasks to do, and varies from system to system and
implementation to implementation. Your best bet is to talk to your
System Admin (who probably isn't 100% sure either), perusing a lot of
manpages, and googling.

On Tue, Dec 16, 2008 at 2:37 AM, Atil Parikh <atil.parikh_at_hotmail.com> wrote:
> Hello,
>
> As I am using svn command line client 1.5.2, to use some svn basic commands
> for my open source application. While working with "svn checkout"
> operations, i have found some problems. Let you give brief problem
> scenario.
>
> When i am taking checkout of any URL with protocols like http or https or
> svn, will ask for username and password. As my application is process
> oriented, it is hard to control on interactive questions by any process.
> so, i am sending username and password through "svn checkout" argument
> (--username and --password). This will solve my problem, but it is not
> working for SSH.
>
> When i want to use svn+ssh protocol, i tried same thing but i found that it
> is not possible for svn+ssh, so, will you give me solution and/or idea about
> to solve the problem for svn+ssh. the another solution may be about SVN
> APIs. So, my concern is about to solve the problem with command line client
> only (as it is my requirement to sort out this problem with svn command line
> client for my FOSS application), if it is not possible then and then only i
> want to go for SVN APIs, and will you help me to sort out solutions and
> APIs?
>
> Awaiting for your positive feedback as your convenient.
>
> Thanks and Regards,
> Atil Parikh
>
>
>
> The information transmitted is intended for the person or entity to which it
> is addressed and may contain confidential and/or privileged material. Any
> review, retransmission, dissemination, copying or other use of, or taking
> any action in reliance upon, this information by persons or entities other
> than the intended recipient is prohibited. If you have received this in
> error, please contact the sender and delete the material from your system.
> Thank you.
>
>

-- 
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=985137
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 19:08:12 CET

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.