[Biojava-l] Biojava CVS and SSH

Emig, Robin Robin.Emig@maxygen.com
Tue, 19 Dec 2000 08:03:29 -0800


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)

[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

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

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.

FYI

-Robin


Robin Emig
Bioinformatics Specialist
515 Galveston Dr
Redwood City, CA 94063
Maxygen Inc
650-298-5493