AFP548

cvs/ssh tunnel

I am having problems connecting to cvs on a nat'd host behind a firewall. The host is running OS X Server 10.4.9. If I am on a computer that is behind the firewall, I am able to connect to cvs. However, when I try to set up a ssh tunnel from my home computer, I run into problems. To create the tunnel, this is what I am running /usr/bin/ssh -v -N -p 22 -c 3des user@gateway.server.com -L 2401:internalipaddress:2401 My .tchsrc file has setenv CVS_RSH "ssh" setenv CVSROOT ":ext:user@localhost:/usr/local/cvs" The result is: Cannot access /usr/local/cvs/CVSROOT No such file or directory My home computer does not have a cvs repository In looking at the debugging output, there is no information about the local host trying to connect to the remote one. I am able to ssh to the nat'd host via a ssh tunnel for the tunnel /usr/bin/ssh -v -N -p 22 -c 3des user@gateway.server.com -L10022internalipaddress:22 to ssh ssh -p 10022 localhost If anyone has any thoughts as to what I am doing wrong? All of the information I have seen about using cvs with an ssh tunnel seems to be in the cvs repository is on the gateway server which has ssh access. Thanks
Exit mobile version