LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   svn+ssh (https://www.linuxquestions.org/questions/linux-server-73/svn-ssh-490669/)

hgb 10-08-2006 05:55 PM

svn+ssh
 
Hi there people.


Im trying to get a svn server up and working to do some projects at school and been able to have the repo at my house...

OK, so I do

Code:

svnuser@hgb-64:/repos/svn$ svnadmin create p1
And then:

Code:

svnuser@hgb-64:svnserve --foreground -r /repos/svn/ -d
And then only with svn
Code:

svnuser@hgb-64:~/Desktop$ svn info svn://localhost/p1
Ruta: p1
URL: svn://localhost/p1
Raíz del repositorio: svn://localhost/p1
UUID del repositorio: 95c9612b-541f-0410-a1e5-d5ecf45514e4
Revisión: 0
Tipo de nodo: directorio
Revisión del último cambio: 0
Fecha de último cambio: 2006-10-08 17:24:32 -0500 (dom, 08 oct 2006)

But when using ssh something go wrong (I dont know if I need to setup something more)

Code:

svnuser@hgb-64:~/Desktop$ svn info svn+ssh://localhost/p1
ssh: connect to host localhost port 22: Connection refused
svn: La conexión de red se cerró inesperadamente

What say there in english is "svn: the net connection is closed unexpectedly"

Tought I can autenticate with default user sally (I have uncommented the lines for my test) when asking user and password... via svn:// but without +ssh.


¿Some one know what to do?

Joebie 10-10-2006 06:35 AM

Svn ssh
 
Hi,

I've had the same problem as you have, i've resolved the problem by hosting it through apache if i've read the documentation right that's the prefered way to create a repository. The rights management is much more extensive and it took me less time to configure and it worked flawless.

I suggest you use apache.


All times are GMT -5. The time now is 02:03 PM.