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

Re: cvs over ssh with non standard port



Micha Feigin said on Wed, Nov 12, 2003 at 10:35:41PM +0200:
> I am trying to get cvs to access the repository through a ssh connection
> when the sshd is listening on a non standard port.
> I tried using
> cvs -s CVS_RSH="ssh -p port" -d :ext:cvs:/var/lib/cvs co package
> but cvs insisted on trying port 22.
> Is it possible to do this?

AFAIK, the only way to do this is to make a small shell script that has the
args, like so:

cat cvsssh

#! /bin/sh
exec ssh -p 4567 $@

and set CVS_RSH=cvsssh

M

Attachment: pgpTdv3KTPA1Z.pgp
Description: PGP signature


Reply to: