[Top][All Lists]

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

Re: failing login to remote server

From: Rene Berber
Subject: Re: failing login to remote server
Date: 17 May 2002 08:58:58 -0700

"Schwenk, Jeanie" <address@hidden> wrote in message news:<address@hidden>...

> Both machines are running cvs 1.11.1p1 and ssh.  
> The server is running HP-UX 
> The client is running linux mandrake 8.2.  
> From the linux client, I can slogin and sftp successfully as jschwenk to the
> HP machines so ssh is running as expected.  But when I try cvs login,
> authentication fails.

When using ssh you don't do "cvs login", that's only for the pserver

Try, from Linux, the command "cvs version", you should get the version
of cvs running as client and the one running as server (this last one
uses ssh, so it should prove that the setup is working.)  The result
is something like this:

  $ cvs version
  Client: Concurrent Versions System (CVS) 1.11 (client/server)
  Server: Concurrent Versions System (CVS) 1.11.2 (client/server)

>  I used ethereal to check out the data in the packets
> and sure enough, I got back "I HATE YOU".  I thought it was looking for the
> password for jschwenk on the HP machine so that is what I got you2.   
> I searched the archives and read 2.9.2 "Connecting with rsh" but didn't see
> anything that helped.  
> Misc info:
> Permissions are not an issue. 
> inetd.conf (HP-UX):  cvs stream tcp nowait root /opt/cvs/bin/cvs cvs -f
> --allow-root=/export/cvsroot pserver
> services:     cvs 2401/tcp # CVS port for pserver
>               cvs 2401/udp # CVS port for pserver
> .profile on remote machine running HP-UX
>         CVSROOT='/export/cvsroot'
>         export CVSROOT
>         CVS_RSH=ssh
>         export CVS_RSH
> .bashrc on local linux mandrake 8.2
>       CVSROOT=":pserver:address@hidden:/export/cvsroot"
>       export CVSROOT
>       CVS_RSH=ssh
>       export CVS_RSH
> NOTE:  I also tried ext rather than pserver and it made no difference.

To test ssh, just make sure that CVSROOT starts with :ext: , and don't
do login.

R. Berber
rberber AT

reply via email to

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