Re: CVS over SSH hangs
From: Rene Berber (rberber@my-deja.com)Date: 05/09/02
- Next message: Igor B: "Re: can someone please provide a step by step instruction on how to get openssh to work without password"
- Previous message: Richard E. Silverman: "Re: CVS over SSH hangs"
- In reply to: vkd: "CVS over SSH hangs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: rberber@my-deja.com (Rene Berber) Date: 9 May 2002 14:53:33 -0700
"vkd" <free@nospam.us> wrote in message news:<r7zC8.145556$Lj.11534555@bin4.nnrp.aus1.giganews.com>...
> Hi, I am experiencing problems using ssh as a shell for CVS.
>
> Everything works great except two things
>
> 1. There is a small hang during connection start up:
>
> # ssh -v -v myuser@remotebox
> OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Seeding random number generator
> debug1: Rhosts Authentication disabled, originating port will not be
> trusted.
> debug1: restore_uid
> debug1: ssh_connect: getuid 0 geteuid 0 anon 1
>
> ---> small hang here <--- about 7-10 seconds
>
> debug1: Connecting to zorro [xxx.xxx.xxx.xxx] port 22.
> debug1: temporarily_use_uid: 0/0 (e=0)
> debug1: restore_uid
>
> Remote box is running Solaris 7 with OpenSSH 3.1p1
This is quite normal since (from the OpenSSL documentation) Solaris
doesn't have a /dev/random, generating keys takes a long time. It's
even worse with old Sparc hardware: everytime you login using ssh
(which is what CVS is doing) you can see the CPU usage go to 100%.
BTW the documentation that comes with OpenSSL (and also de Sun Web
site) recomends installing a /dev/random from one or two sources. It
does help a little.
> 2. CVS transfer completes, but the session just hangs there as though there
> is no completion of communication:
>
> # cvs login
^^^^^^^^^
What's this doing here? You only need to log-in if you're using
pserver.
> # cvs co project
> ...
> ...
> U project/utils/readme.txt
> U project/utils/room.c
> U project/utils/zrea.c <--- Last file in project.
>
> ---> indefinate hang here. <---
>
> What's weird is that if I go into utils area and do cvs update there, it
> works fine. Cvs update results in the same hang when I do it on the whole
> tree. I don't understand why this is going on.
>
> I tried using pserver over ssh tunnel and that worked fine. Why isn't this
> working?
>
> Here is what I have defined:
>
> CVS_RSH=ssh
> CVSROOT=myuser@remotebox:/var/cvsroot
>
> Any ideas?
Try by setting CVSROOT=":ext:myuser@remotebox:/var/cvsroot" and then
just do the "cvs co project".
I don't know why the sample you show hangs, but it has nothing to do
with ssh, it probably is something wrong with cvs. Better test with
the :ext: protocol and see if it still hangs.
Regards.
-- R. Berber rberber AT mailandnews.com
- Next message: Igor B: "Re: can someone please provide a step by step instruction on how to get openssh to work without password"
- Previous message: Richard E. Silverman: "Re: CVS over SSH hangs"
- In reply to: vkd: "CVS over SSH hangs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|