OK. Here’s how I fixed this (on Mac OS X, but fix should work on any client)
This particular issue arises when you are using a non-standard port (let’s say 12001 for sake of example) for your SSH server.
Apparently the SVN client experiences syntax errors when given a port address on a command line like this one:
svn list svn+ssh://username@domainname.com:12001/home/username/svn/myproject
So, to fix this, you need to create a client-side config file for SSH like this:
cd ~
cd .ssh
vi config (create a config file like the one that follows)
:w
:q
Config file located in ~/.ssh/config:
Host domain.com
User username
Port 12001
Then, issue your svn+ssh command WITHOUT the port like this:
svn list svn+ssh://username@domain.com/home/username/svn/myproject
That’s it!
Hope that helps.
Rick
출처: http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/
'programming' 카테고리의 다른 글
argument 와 parameter 의 차이 (0) | 2012.02.10 |
---|---|
svn - 특수문자 (@) 들어간 파일 add, 비밀번호 저장 안될 때 (0) | 2011.07.03 |
subversion 백업과 복원 (0) | 2011.03.29 |
lua library 설치 (0) | 2010.12.07 |
c2ps - C/C++ to Postscript Converter (0) | 2010.12.07 |