Re: installing subversion
From: Mariana Draper <murid21_at_yahoo.com>
Date: 2007-01-24 02:16:52 CET
I also tried to connect using the userid already configures for ssh, but i had no luck. i cannot connnect that way either...
I tried conecting through the URL svn+ssh://ip_address/path_to_repository
and i get the following error: "Connection closed unexpectedly".
I also tried through the URL svn+ssh://username@ip_address/path_to_repository
and i get the same error.
I believe that something is happening with ports in the server....maybe i have no port listening and waiting for an svn request...
If you know how can i come up with this problem, it would be grateful. Anyway, many thanks for all your help!! I have learned a lot.
Best regards,
Mariana.
----- Original Message ----
From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
To: Mariana Draper <murid21_at_yahoo.com>
Cc: Subversion List <users_at_subversion.tigris.org>
Sent: Tuesday, January 23, 2007 8:16:27 PM
Subject: Re: installing subversion
Please remember to Reply To All when replying to messages, so that
your response goes to the mailing list too, not just to me.
More below:
On Jan 23, 2007, at 16:13, Mariana Draper wrote:
>> > Does anyone know how to configure the server so i can access
>> > through ssh?
>>
>> Yes, it's described in the book.
>>
>> > i already did the following:
>> > - i created the repository
>> > - i created a group and users that will have acces to the server
>>
>> You created operating system users? That's one way to use svn through
>> ssh.
>>
>> > - i started svnserve through the command: svnserve -d
>>
>> That's not necessary for using svn through ssh.
>>
>> > with this steps, the server si still not working.
>> > what else do i need?
>> >
>> > i believe i have to change something in the file svnserve.conf but
>> > i am not sure what.
>>
>> Read the book and come back if you have questions:
>>
>> http://svnbook.red-bean.com/en/1.2/
>> svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshauth
>
>
> Ryan,
>
> i have alredy read it, but i didnt understand some points..
>
> as far as i understood, i have to run svnserve and this is the one
> that will be listening to requests to access de svn server. once a
> request is received, svnserve will authorize or not the user to
> access the server.
> in order to give permission to users, svnserve evaluates the
> svnserve.config file. is this right?
That is all correct, if you want to access the repository via the
svn:// protocol. But you said you want to access it via ssh, meaning
the svn+ssh:// protocol. For that setup, you do not run a daemon, and
I believe you do not use any user data in the svnserve.config file
either.
> so...
>
> first of all, i dont realy understand in which mode should i run
> svnserve. what facts do i have to consider when chhoosing svnserve
> mode?
> i tried with deamon mode (-d) and tunnel mode (-t). But when trying
> to set tunnel mode i dont know how to follow...
> it appears the following line which i dont know what it means...
>
> ( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) )
>
> another thing is that i already have ssh users that can have access
> to the linux server. i dont understand yet if these users and
> passswords are the same to access the SVN repository, or i have to
> create new usernames and new passwords. if the answer is that i
> have to create new ones, where do i create them? in the
> svnserve.config file?
>
> sorry for my questions, but i am new in svn. i have also read the
> book several times and still dont have things clear...
If you have already created Linux system users, then they can access
the repository via svn+ssh:// using those usernames and passwords.
Subversion never sees those passwords; they're handled by your
server's ssh daemon.
--
To reply to the mailing list, please use your mailer's Reply To All
function
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
|
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.