[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using rsh without password
From: |
Mark D. Baushke |
Subject: |
Re: using rsh without password |
Date: |
Tue, 24 Jan 2006 10:36:05 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
detoolman <address@hidden> writes:
> I am setting up a cvs repository on a remote machine on a private
> network. I am not concerned with security, however i want access to be
> simple. I decided to use rsh and have set up the .rhosts and
> hosts.equiv files. I can use rsh commands between machines without
> passwords, however when trying to retrieve files using cvs commands i
> am always prompted for a password. Does anyone know what i could be
> missing? Maybe i should use a different method?
>
> Any help would be appreciated.
> Thanks
Is your CVS_RSH environment variable set?
If so, is it "ssh" or "rsh" as a value?
If you are a bourne-shell user, then
CVS_RSH=rsh; export CVS_RSH
If you are a csh or tcsh user, then
setenv CVS_RSH rsh
and try your commands again.
Many mondern distributions are setting the default remote shell
executable default to "ssh" rather than "rsh" these days. I have no idea
which distribution you are using or how it was configured as you did not
provide that information.
Using ssh can be fairly easy if you have ssh-agent and ssh-add around
in your environment. There are many 'how to use cvs and ssh' lists out
there, use your favorite search engine to find one if you would rather
be able to use 'ssh' instead of 'rsh'...
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFD1nOVCg7APGsDnFERAmJiAKDaTLpVV86G6OFo5a5YfsjcF9d+JwCeP17n
v3hrrKDM/MUfG/NJwz24cx4=
=zz7m
-----END PGP SIGNATURE-----