1 |
I need to get to the work CVS server from home. It's not exposed to the |
2 |
internet but never fear! we have ssh -L and a convenient sshd host that is on |
3 |
the internets. So, locally |
4 |
|
5 |
ssh -Llocalhost:1111:cvs.example.com:22 alan@×××××××××××××××.com |
6 |
|
7 |
and tell cvs that the server is localhost:1111 |
8 |
|
9 |
I do this all the time for lots of other stuff. Doesn't work for CVS because |
10 |
there's no way to tell cvs to tell ssh what port to use. |
11 |
|
12 |
Google gives lots of hits about using the host-specific Host directive in |
13 |
~/.ssh/config but that won't work for me - it assumes I can see the CVS server |
14 |
directly and doesn't take into account that I have port forwarding in the way. |
15 |
|
16 |
Anyone know a way to get cvs to use any port other than 22? I'm receptive to |
17 |
alternate cvs clients with this support, just not ones that tweak ssh to do |
18 |
it. |
19 |
|
20 |
|
21 |
-- |
22 |
alan dot mckinnon at gmail dot com |