[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying options for ssh
From: |
Ralf S. Engelschall |
Subject: |
Re: Specifying options for ssh |
Date: |
Sun, 9 Feb 2003 15:22:53 +0100 |
User-agent: |
Mutt/1.4i |
On Sun, Feb 09, 2003, Reinstein, Shlomo wrote:
> I'm using the :ext: access method of CVS, with CVS_RSH set to "ssh2". Is
> there a way to specify options for the rsh replacement? I noticed that
> setting CVS_RSH to "ssh2 -x", for example, does not work: CVS says: "Cannot
> exec ssh2 -x".
AFAIK you've to either use CVS_RSH=foo and create a small wrapper shell
script doing the 'exec ssh2 -x "$@"' or alternatively (at least with
OpenSSH) you can use just CVS_RSH=ssh and override some settings on a
by-host basis in your ~/.ssh/config (e.g. "ForwardX11 no").
Ralf S. Engelschall
address@hidden
www.engelschall.com