mainSavannah Administration - Support: sr #109445, Developer download using CVS fails

 
 

sr #109445: Developer download using CVS fails

Submitter:  Laurence Finston <lfinsto1>
Submitted:  Mon 15 Jan 2018 01:18:21 PM UTC
   
 
Category:  Download area - developer access Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Operating System:  GNU/Linux Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Jan 2018 08:24:58 PM UTC, comment #2: 


> > CVS_RSH=ssh
> > export CVS_RSH
>
> This worked.  I'm using public computers at a library, so I can't make changes to the system.
>
> Thank you very much for your help!


Very good!  I will close the ticket then.

Bob Proulx <rwp>
Site Administrator
Mon 15 Jan 2018 07:38:32 PM UTC, comment #1: 

Hello Laurence, You appear to be using rsh instead of ssh trying to access CVS.  You may not be familiar with rsh but that is one of the classic BSD 'r'commands along with rlogin and rcp.  But the web is a hostile place and those commands use the trust model from 1985 and are no longer safe for use on the hostile Internet.

Please use the ssh command to access CVS and for any other remote access on the net.  It's safe and uses authenticated encrypted access.  Savannah only allows use of SSH.

You didn't say what system you are using for your client access.  If it were a Debian system (or derived from Debian) then I would suggest this following:

apt-get purge rsh-client

That will purge rsy, rcp, and rlogin client programs from your system.  They are not safe on the hostile Internet and are never appropriate there.  They are only useful on a private LAN for use with a historical legacy environment.

If you can't remove it then you can configure it away.  Use the update-alternatives command.

update-alternatives --display rsh

sudo update-alternatives --config rsh

If you can't remove rsh then you can use update-alternatives --config to configure it to select ssh instead of netkit-rsh.

Lastly if you can't configure the system to avoid rsh for whatever reason then in your specific environment you can set the CVS_RSH variable to use ssh.

For sh, bash, ksh, zsh:

CVS_RSH=ssh
export CVS_RSH

For csh, tcsh:

setenv CVS_RSH ssh

Please let me know if this helps you with your access. :-)



Bob Proulx <rwp>
Site Administrator
Mon 15 Jan 2018 01:18:21 PM UTC, original submission:  

Hello,

After a long time I've now tried to download the web pages
for my project.  Anonymous access using pserver works, but not developer access using ssh:

$ cvs -z3 -d:ext:lfinsto1@cvs.savannah.gnu.org:/web/3dldf co 3dldf
connect to address 208.118.235.201 port 544: Connection timed out
trying normal rsh (/usr/bin/netkit-rsh)
exec: No such file or directory
cvs [checkout aborted]: end of file from server (consult above messages if any)

It doesn't work for the sources, either:

$ cvs -z3 -d:ext:lfinsto1@cvs.savannah.gnu.org:/sources/3dldf co 3dldf
connect to address 208.118.235.201 port 544: Connection timed out
trying normal rsh (/usr/bin/netkit-rsh)
exec: No such file or directory
cvs [checkout aborted]: end of file from server (consult above messages if any)

Am I doing something wrong or is something wrong on the server side?  I'm not prompted for a password or passphrase.

Developer access using git and ssh does work.

Thanks,

Laurence Finston

Laurence Finston <lfinsto1>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by lfinsto1 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-16 rwp Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code