[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"mobile" CVS

From: Spiro Trikaliotis
Subject: "mobile" CVS
Date: Tue, 20 Jul 2004 21:48:02 +0200
User-agent: Mutt/1.5.6i


I got a question on using CVS (what else?). I'm using a laptop which
accesses a remote repository via ssh.

Unfortunately, depending on whether I'm "inside" the network which contains
the repository, or "outside", I have to use different ssh settings. The
machine name, as well as the used port change. I cannot access the
repository server with the "inside" settings from outside, and vice

Currently, I help myself by utilizing a ~/.ssh/config file, which
contains two entries, namely, CVS-local and CVS-remote, with the correct
settings for each case. Depending of whether I'm "in" or "out", I rename
one of both to "CVS", and only use the ssh server name "CVS" when
working with CVS.

This works, but is annoying. I ask myself if there is another way to
perform this? I will ask this on an ssh mailing list, too, but there
might be some ideas here which do not depend on ssh, but are cvs

Ideally, there would be a solution which would work automatically. I
already thought about writing a skript which renames the appropriate
entry depending on my own IP address.

An option I used before using ~/.ssh/config was to change CVS/Root in
every directory, but this was rather annoying.

Any thoughts or experiences on this?


Spiro R. Trikaliotis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]