Saturday, April 09, 2005

ext CVS on OS X through SSH

By default, OS X tries to use RSH for ext CVS access, unlike other *nix-based systems I've used. If you're seeing "Connection refused" when trying to use ext CVS, this is probably why. tcpdump showed it was trying to connect to TCP 514 on the CVS server, which wasn't listening since it's running through SSH.

To fix this, edit .profile in your home directory (create it if it doesn't exist) and put in the following:
export CVS_RSH="ssh"

Save and exit, then log off and back on (or close your terminal window and open a new one) and things will work as you expect them to.

Thanks to Scott Ullrich for a clue to figure this one out.


Post a Comment

<< Home