[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using ssh with alternate port to access remote cvs repository



On Sun, Nov 03, 2002 at 11:09:01AM -0600, Charles Menzes wrote:
> However, the remote machine is running ssh on an alternate port rather 
> than tcp/22. I tried setting the CVS_RSH value to '/usr/bin/ssh -p222' but 
> when I run my cvs checkout command line, I get a complaint saying that it 
> 'can't find the command'.

Just add the host to your .ssh/config, like this:

    Host foo.example.com
      Port 222

You can also add things like "User", "Hostname", etc.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7360             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.