[Top][All Lists]

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

Re: SSH error: end of file from server

From: Mark D. Baushke
Subject: Re: SSH error: end of file from server
Date: Mon, 09 May 2005 11:09:03 -0700

Hash: SHA1

Andrew Wood <address@hidden> writes:

> I'm ignoring the problem on Windows for the time being because theres a
> separate mailing list for Tortoise CVS, but on OS X, where I'm running the
> normal Unix version of CVS, my OpenSSH client is at
> /usr/bin/ssh
>  I've set the CVS_RSH environment variable to /usr/bin/ssh, /usr/bin and
> ssh, and none of them work. Now when I try to checkout I instantly get
> the following error:
> cvs [checkout aborted]: cannot exec: No such file or directory
> cvs [checkout aborted]: end of file from server (consult above messages if
> any)
> It's now trying to use SSH, which it wasnt before but cant find it??
> Thanks
> Andrew

First, for tcsh or csh shells use:

   setenv CVS_RSH /usr/bin/ssh

for bash or other bourne shell variations use:

   CVS_RSH=/usr/bin/ssh; export CVS_RSH

The command:

  cvs -t version

should show you the command thas is being run remotely if you
look for the 'Starting server: /usr/bin/ssh host.dom.ain cvs server' text.

You should try a command like:

  /usr/bin/ssh host.dom.ain date

to see if it will return the date to you.

The most likely problem with 'cannot exec' is that the server is
not finding the 'cvs' executable in your path. If you login to
the server and determine that 'cvs' lives in '/usr/local/bin/cvs'
then you could try on your client to use the CVS_SERVER variable

For tcsh or csh shells use:

  setenv CVS_SERVER /usr/local/bin/cvs

for bash or other bourne shell variations sue:

  CVS_SERVER=/usr/local/bin/cvs; export CVS_SERVER

Now when you run the 'cvs -t version' command you should see 
some output that includes 
'Starting server: /usr/bin/ssh host.dom.ain /usr/local/bin/cvs server'
in the output. If all goes well, you will also see lines like

'Client: Concurrent Versions System (CVS) 1.11.20 (client/server)'
'Server: Concurrent Versions System (CVS) 1.11.20 (client/server)'

or whatever version is actually running on the client and the server.

        Good luck,
        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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