2012-02-01 79 views
0

我試圖在我的家庭網絡上的Ubuntu服務器框上設置svn。我使用svnadmin create/opt/svn創建了該存儲庫,並且這是成功的。我在這個盒子上安裝了ssh,並且希望通過ssh隧道傳輸svn,所以我可以通過防火牆打開svn並在旅途中檢查代碼。svn:無法找到存儲庫

我在一個Ubuntu工作站上。我創建一個名爲斯賓塞主機條目指向我的SVN服務器的IP地址,並輸入

ssh spenser 

登錄到箱並創建RSA(或其他)鍵此框。現在我應該很好。

因此,我啓動eclipse並進入sublipse svn repository瀏覽器來創建我的存儲庫鏈接。我使用svn + ssh:// spenser。我得到ssh挑戰並輸入我的密碼。然後我得到:

Couldn't find a repository 
svn: Unable to connect to a repository at URL 'svn+ssh://spenser' 
svn: No repository found in 'svn+ssh://spenser' 

我看svnserve的服務器上,我看到:

[email protected]:~$ ps aux|grep svn 
root  2015 0.0 0.2 11936 640 ?  Ss 08:07 0:00 /usr/bin/svnserve -d -r /opt/svn 

這意味着,它的指向正確的存儲庫。我看存儲庫:

[email protected]:~$ ls -l /opt/svn 
total 24 
drwxr-xr-x 2 root root 4096 2012-01-31 07:03 conf 
drwxr-sr-x 6 root root 4096 2012-01-29 12:51 db 
-r--r--r-- 1 root root 2 2012-01-29 12:51 format 
drwxr-xr-x 2 root root 4096 2012-01-29 12:51 hooks 
drwxr-xr-x 2 root root 4096 2012-01-29 12:51 locks 
-rw-r--r-- 1 root root 229 2012-01-29 12:51 README.txt 

我錯過了什麼?

回答