cvs over SSH using nonstandard port - SOLVED

Troy troy at twisted.net
Sat Apr 1 14:13:19 UTC 2006


Actually I just figured it out after posting.

I just had to edit ~/.ssh/config and put a few lines in like:

host foo.bar.com
user foobar
port xxxx


On Sat, Apr 01, 2006 at 09:06:29AM -0500, fbsd_user wrote:
> change it in /etc/services
> 
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Troy
> Sent: Saturday, April 01, 2006 9:00 AM
> To: freebsd-questions at freebsd.org
> Subject: cvs over SSH using nonstandard port
> 
> 
> Recently I changed the port that SSH was listening on to a
> non-standard
> port. I access my cvs repository using SSH but need to point it to
> the
> non-standard port. In my .cshrc file I have these settings which
> work fine
> when SSH is using port 22.
> 
> setenv CVSROOT ":ext:foo at bar.foo.net:/foo/bar/cvsroot"
> setenv CVS_RSH ssh
> 
> I tried to add :ext:foo at bar.foo.net:xxx:/foot/far/cvsroot"
> 
> where the xxx was the nonstandard port but it didn't seem to like
> it.  How
> do I get my cvsclients to use this nonstandard port?
> 
> -Troy
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list