The reason why fsh
was written was to make it possible to use
remote CVS fast and securely. This chapter outlines all necessary steps
towards that end. It is assumed that you already have a working CVS
repository on a server, and that CVS is installed on the client as well.
fsh
on the server and client. Make sure it exists in
your default path.
ssh
without issuing a password. I personally recommend the use of
ssh-agent
. You can set it up like this: Run ssh-agent
on
the client. Create a secret key with ssh-keygen
if you have not
already done so. Run ssh-add
to add the key to the agent.
Connect to the server. Place the output of ssh-add -l
in
`.ssh/authorized_keys' on the server. You should now be able to
log in without issuing the password.
bash$ ssh server.domain echo it is working it is working bash$
in.fshd
is found when you log in to the server.
bash$ ssh server.domain in.fshd fsh 1Once you receive the line
fsh 1
you can press end-of-file to end
the session.
bash$ fshd server.domain Connection established
CVS_RSH
to the value
fsh:
bash$ export CVS_RSH=fsh
bash$ cvs -d server.domain:/path/to/cvs/repository co module-name
bash$ cd module-name bash$ cvs log foo.c bash$ cvs status bar.cIf you switch back to the screen running
fshd
, you will notice
that a few lines of texts was written each time a remote command was
executed.
If you are using a modem or a slow internet connection to connect to the
remote server, you probably want to use Compression
in
`.ssh/config'. See ssh(1).
Go to the first, previous, next, last section, table of contents.