Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

lachoy (1663)

lachoy
  chris.winters@gmail.com
http://www.cwinters.com/

I am actually Chris Winters; I am actually living in Pittsburgh, Pennsylvania, USA; I am actually married and have three cats. (Guess what one of them is named?) I am the "OpenInteract" guy, which could be good or bad.

Journal of lachoy (1663)

Tuesday November 29, 2005
09:06 PM

Using CVS through a non-standard SSH port

[ #27796 ]

When I rebuilt my server I decided to run SSH on a non-standard port, just to deny casual automated probes. (Feel free to tell me it doesn't do any good...) But I also used the :ext: protocol of CVS to run it over SSH, and it didn't allow you to specify the port in the relevant file (CVS/Root).

The solution, as found on the info-cvs list: setup an alias for SSH. So in ~/.ssh/config I have something like:

Host cvs.cwinters.com
HostKeyAlias cwinters.com
Hostname cwinters.com
Port 9765

The host cvs.cwinters.com doesn't actually exist to the world, it's just a pointer. Then I just ran my handy script to mass-update all CVS/Root files under the current directory with the updated host and everything just worked. Nice!

Note: apparently you need the nc binary to make this work properly.

Posted from cwinters.com; read original

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.