[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS over SSH on different port
From: |
stremler |
Subject: |
Re: CVS over SSH on different port |
Date: |
2 Nov 2004 23:58:55 GMT |
User-agent: |
tin/1.4.2-20000123 ("Polish") (UNIX) (SunOS/5.9 (sun4u)) |
begin quoting Gaurav Vaish <address@hidden> :
> 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 address@hidden
The most depressing thing about getting older is being around
long enough to watch knowledge die.
-- Charlie Gibbs (November 2001)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: CVS over SSH on different port,
stremler <=