info-cvs
[Top][All Lists]
Advanced

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

Re: SSH: cvs not found.


From: Andrew Johnson
Subject: Re: SSH: cvs not found.
Date: Mon, 09 Dec 2002 13:59:44 -0000
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827

Hans Almqvist wrote:

I am running WinCvs 1.3.8.1 Build 1. on my client
and Linux RH 7.1 on the server.
...
When I try to use SSH I get the fallowing:

//
NEW CVSROOT: address@hidden:/usr2/cvsroot (ssh authentication)
cvs -d :ext:address@hidden:/usr2/cvsroot init bash: cvs: command not found
...
Logged in with SSH Terminal I get :
//
address@hidden hasse]$ /usr/local/bin/cvs
Usage: cvs [cvs-options] command [command-options-and-arguments]
...
This shows that cvs in the path .

Often an interactive shell will get a different path to a non-interactive one. You might find that if you manually run 'ssh <host> printenv' that your path setting doesn't include /usr/local/bin, which would explain the above error from bash.

I don't know how you tell WinCVS to do this, but on command-line cvs you can set the environment variable CVS_SERVER on the client machine to the full pathname of the cvs binary on the server, and it will work.

- Andrew
--
"Life is what happens while you're busy making other plans." - John Lennon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]