IF you are using ssh for remote CVS logins you can use keys.  The command
ssh-keygen will
generate the keys for  you.  And the man page has information on how to set
them up.

Then you can write a script that looks something like this.

CVSROOT=username@server:/path/to/cvsroot
CVS_RSH=ssh # you may need to specifiy the path if it's not in you $PATH.

export CVSROOT CVS_RSH

cvs co -r module_name


IF you keys are set up correctly it will just log you in and do the
appropriate CVS
commands.

jim


-----Original Message-----
From: Amin Jaffer
To: [EMAIL PROTECTED]
Sent: 5/8/01 9:30 PM
Subject: CVS batch..


Hi all,

How do i setup a script so that it logons on the server and fetches
the files, i.e how do i logon to the server without it prompting me for
the
password?

thanks
amin
[EMAIL PROTECTED]


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to