How to use cvs through ssh over a different port
Naively i assumed that connecting to a cvs server over ssh over a different port, is just a matter of
-> http://lists.gnu.org/archive/html/info-cvs/2004-10/msg00291.html
it seems, that it is necessary to define an ssh-Alias by adding the following lines to
(I am posting boring stuff like this for the sole purpose of some poor anonymous fellow in the future, who will struggle with the same problem, and googles his way to my blog. Sorry for all the others, who just dont give a damn about the above.)
cvs -d :ext:michi@cvs.some.server.com:12345/opt/cvs co MyProject
But this results in the following error:
CVSROOT port specification is only valid for gserver, kserver, and pserver connection methods.
According to this posting-> http://lists.gnu.org/archive/html/info-cvs/2004-10/msg00291.html
it seems, that it is necessary to define an ssh-Alias by adding the following lines to
~/.ssh/config
:
Host SomeCvsServer
HostKeyAlias cvs.some.server.com
Hostname cvs.some.server.com
Port 12345
Then the following command will be rewarded with success:
cvs -d :ext:michi@SomeCvsServer:/opt/cvs co MyProject
(I am posting boring stuff like this for the sole purpose of some poor anonymous fellow in the future, who will struggle with the same problem, and googles his way to my blog. Sorry for all the others, who just dont give a damn about the above.)
michi - 08.Nov 2005 20:44 - technisches