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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Troy
> Sent: Saturday, April 01, 2006 9:00 AM
> To: freebsd-questions@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:[EMAIL PROTECTED]:/foo/bar/cvsroot"
> setenv CVS_RSH ssh
> 
> I tried to add :ext:[EMAIL PROTECTED]: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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to