On 2010-11-08, marko unrmn <butterflyspat...@gmail.com> wrote: > I apologize for posting a general computer problem but I am using > OpenBSD as > a computer. Here is my problem: > > I try to use cvs and my port number is overridden buy my ssh port. I am not > sure where this is coming from or how to fix it. the port is say 2224 and I am > getting the error > > cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_4_8 -P src > ssh: connect to host anoncvs.ca.openbsd.org port 2224: Connection timed out > cvs [checkout aborted]: end of file from server (consult above messages if > any) > > does anyone know why I am getting this error. > > Thanks and much respect > >
You probably have a Port setting in the global section of .ssh/config or /etc/ssh/ssh_config Either add sections for the hosts which need this nonstandard port and move the "Port 2224" there - various wildcards can be used, see ssh_config(5) - or provide an override for anoncvs.ca.openbsd.org e.g. Host anoncvs.ca.openbsd.org Port 22