begin  quoting Gaurav Vaish <[EMAIL PROTECTED]> :
>   I want to enable port forwarding for the CVS (over SSH).
>
>   But at the same time, I have sshd running on the firewall server. As
> such, I can have port 22 (on firewall) for connecting to the CVS.
>
>   How can I achieve my target?

Last time I tried this, I ended up creating a script "alt_ssh" in
$HOME/bin that consisted of something like:

#!/bin/sh
/usr/local/bin/ssh -p 123 $*

(where "123" was the alternate port)

And then I set CVS_RSH to $HOME/bin/alt_ssh.  I've not tested this
recently to see if I remembered it correctly, nor have I spent any
time looking for a less crufty solution.

-- 
 --Stewart [EMAIL PROTECTED]
        The most depressing thing about getting older is being around
        long enough to watch knowledge die.
                                         -- Charlie Gibbs (November 2001)
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to