[Biojava-l] Biojava CVS and SSH

Jason Stajich jason@chg.mc.duke.edu
Tue, 19 Dec 2000 11:23:41 -0500 (EST)


On Tue, 19 Dec 2000, Emig, Robin wrote:
> I ran into a couple of problems trying to log into the cvs server with a
> read write account. I am behind a firewall which uses NAT. Here was the
> output of what was happening.....
> 
> [root@bifxlinux java]$ cvs -d
> :ext:myaccount@biojava.org:/home/repository/biojava checkout biojava-live 
> 1poll: protocol failure in circuit setup
> cvs [checkout aborted]: end of file from server (consult above messages if
> any)

this won't work if you don't have CVS_RSH set to a valid ssh client I'm
pretty sure, appears you have figured that out below.

> 
> [root@bifxlinux java]$ cvs -d
> :pserver:myaccount@biojava.org:/home/repository/biojava checkout
> biojava-live
> cvs [checkout aborted]: recv() from server biojava.org: Connection reset by
> peer

pserver is not running biojava.org, pserver is running on cvs.biojava.org.
if you want to check out code read only,
cvs -d
:pserver:cvs@cvs.biojava.org:/home/repository/biojava login
...etc... (follow directions at http://cvs.biojava.org 

> 
> [root@bifxlinux java]$ ssh -l myaccount biojava.org
> ssh_exchange_identification: Connection closed by remote host

If you can't login normally through ssh, cvs surely won't work, so I would
focus making that work first, CVS will follow.

> 
> finally I tried the -P option in ssh, which doesn't allocate a priveliged
> port
> 
> [root@bifxlinux java]$ ssh -P -l myaccount biojava.org
> this seemed to allow me to ssh into biojava, but I was still getting the
> same errors from cvs
> 
> so, I also set the CVS_RSH environment variable to /usr/bin/ssh
> 
> same problem, then I found a faq about connection time problems and cvs. It
> said to set the following options in /etc/ssh/ssh_config
>    RhostsAuthentication no
>    RhostsRSAAuthentication no
> 
> I tried pserver, but it still failed, but 
> cvs -d :ext:myaccount@biojava.org:/home/repository/biojava checkout
> biojava-live
> worked.

the only way to get to get a writeable checkout is through ext at
biojava.org and ssh.

Let us know if you are still having trouble by sending a note to
root-l@bioperl.org.

> 
> FYI
> 
> -Robin
> 
> 
> Robin Emig
> Bioinformatics Specialist
> 515 Galveston Dr
> Redwood City, CA 94063
> Maxygen Inc
> 650-298-5493
> 
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
> 

Jason Stajich
jason@chg.mc.duke.edu
Center for Human Genetics
Duke University Medical Center 
http://www.chg.duke.edu/