Discussion:
[savannah-help-public] [sr #109445] Developer download using CVS fails
Laurence Finston
2018-01-15 13:18:22 UTC
Permalink
URL:
<http://savannah.gnu.org/support/?109445>

Summary: Developer download using CVS fails
Project: Savannah Administration
Submitted by: lfinsto1
Submitted on: Mon 15 Jan 2018 02:18:21 PM CET
Category: Download area - developer access
Priority: 5 - Normal
Severity: 4 - Important
Status: None
Assigned to: None
Originator Email: ***@gmx.de
Operating System: GNU/Linux
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

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:***@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:***@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





_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109445>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2018-01-15 19:38:33 UTC
Permalink
Follow-up Comment #1, sr #109445 (project administration):

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. :-)




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109445>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Laurence Finston
2018-01-16 15:05:38 UTC
Permalink
Hello Bob,
Post by Bob Proulx
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.
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!

Laurence
Post by Bob Proulx
Gesendet: Montag, 15. Januar 2018 um 20:38 Uhr
Betreff: [sr #109445] Developer download using CVS fails
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
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.
CVS_RSH=ssh
export CVS_RSH
setenv CVS_RSH ssh
Please let me know if this helps you with your access. :-)
_______________________________________________________
<http://savannah.gnu.org/support/?109445>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2018-01-16 20:24:58 UTC
Permalink
Post by Laurence Finston
Post by Bob Proulx
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.
Post by Laurence Finston
Thank you very much for your help!
Very good! I will close the ticket then.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109445>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2018-01-16 20:25:16 UTC
Permalink
Update of sr #109445 (project administration):

Open/Closed: Open => Closed


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109445>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...