CVS access using SSH
It seems that CVS is trying to send an inaccurate command when attempting to use SSH and authorized keys. I am trying to configure my CVS so that it doesn't require a password each and every time I run it. I have also used the -t trace option to determine what CVS is trying to do. Here is what I found: CVS tries to execute the following SSH command: "ssh cvs.projectname.sourceforge.net -l username cvs server" If I try to run this very same command at a DOS Prompt (I'm on a Win95 machine), I get an error that this is a protected shell acount that I cannot access. If I remove the "cvs." and the "cvs server" then all works well. Is there a way to define the specific command sent? I know that my shared keys are also set up correctly. Thanks in advance for the help. Sheldon Samuels
CVS access using SSH
It seems that CVS is trying to send an inaccurate command when attempting to use SSH and authorized keys. I am trying to configure my CVS so that it doesn't require a password each and every time I run it. I have also used the -t trace option to determine what CVS is trying to do. Here is what I found: CVS tries to execute the following SSH command: "ssh cvs.projectname.sourceforge.net -l username cvs server" If I try to run this very same command at a DOS Prompt (I'm on a Win95 machine), I get an error that this is a protected shell acount that I cannot access. If I remove the "cvs." and the "cvs server" then all works well. Is there a way to define the specific command sent? I know that my shared keys are also set up correctly. Thanks in advance for the help. Sheldon Samuels
Re: CVS access using SSH
I have run SSH directly and gotten through to the CVS Server without entering a password. I didn't enter a passphrase when creating the key and am fairly confident that the keys were created and uploaded properly. If I enter: ssh -v projectname.sourceforge.net I can go right in without a password or passphrase. It's only when I try to use CVS that it seems to require a password. It seems that CVS requires the CVSROOT to be defined one way, which works if you enter a password, but doesn't work if you try to go without one. Thanks for the assistance. Sheldon Samuels >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/05/00 04:29PM >>> Are you able to setup ssh-agent and cvs-add your private key to it? This will allow ssh not to require the passphrase each and every time you or CVS uses it. I'm not sure how this works on 95, though. Noel [EMAIL PROTECTED] on 06/05/2000 03:27:52 PM To: [EMAIL PROTECTED] cc: (bcc: Noel L Yap) Subject: CVS access using SSH It seems that CVS is trying to send an inaccurate command when attempting to use SSH and authorized keys. I am trying to configure my CVS so that it doesn't require a password each and every time I run it. I have also used the -t trace option to determine what CVS is trying to do. Here is what I found: CVS tries to execute the following SSH command: "ssh cvs.projectname.sourceforge.net -l username cvs server" If I try to run this very same command at a DOS Prompt (I'm on a Win95 machine), I get an error that this is a protected shell acount that I cannot access. If I remove the "cvs." and the "cvs server" then all works well. Is there a way to define the specific command sent? I know that my shared keys are also set up correctly. Thanks in advance for the help. Sheldon Samuels This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
Re: CVS access using SSH
My variables are set as follows: SET CVSROOT=cvs.projectname.sourceforge.net SET CVS_RSH=ssh An interesting thing occurs as follows: If I remove the "cvs." from the above, then SSH autologs in, but CVS is pointing to the wrong location on Sourceforge's servers and I'm not allowed to do anything. It seems that CVS is using the value of CVSROOT to autolog in using SSH, but doing it incorrectly. I haven't tried to look into the actual source code for CVS to see why, but I strongly suspect that somehow its purposely doing this. I've used CVS -t to view the commands and have confirmed that this is occuring. I can attach the specifics if it would help. Thanks for the assistance. Sheldon Samuels Panja Software Product Manager >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:07AM >>> Hmmm. That's strange. How do you have your CVS environment variables defined (ie env | grep CVS)? Do you have CVS_RSH set? Noel [EMAIL PROTECTED] on 06/05/2000 05:42:29 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH I have run SSH directly and gotten through to the CVS Server without entering a password. I didn't enter a passphrase when creating the key and am fairly confident that the keys were created and uploaded properly. If I enter: ssh -v projectname.sourceforge.net I can go right in without a password or passphrase. It's only when I try to use CVS that it seems to require a password. It seems that CVS requires the CVSROOT to be defined one way, which works if you enter a password, but doesn't work if you try to go without one. Thanks for the assistance. Sheldon Samuels >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/05/00 04:29PM >>> Are you able to setup ssh-agent and cvs-add your private key to it? This will allow ssh not to require the passphrase each and every time you or CVS uses it. I'm not sure how this works on 95, though. Noel [EMAIL PROTECTED] on 06/05/2000 03:27:52 PM To: [EMAIL PROTECTED] cc: (bcc: Noel L Yap) Subject: CVS access using SSH It seems that CVS is trying to send an inaccurate command when attempting to use SSH and authorized keys. I am trying to configure my CVS so that it doesn't require a password each and every time I run it. I have also used the -t trace option to determine what CVS is trying to do. Here is what I found: CVS tries to execute the following SSH command: "ssh cvs.projectname.sourceforge.net -l username cvs server" If I try to run this very same command at a DOS Prompt (I'm on a Win95 machine), I get an error that this is a protected shell acount that I cannot access. If I remove the "cvs." and the "cvs server" then all works well. Is there a way to define the specific command sent? I know that my shared keys are also set up correctly. Thanks in advance for the help. Sheldon Samuels This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
Re: CVS access using SSH
Yes, :ext: is required. It simply sits and appears to be doing nothing if I remove the :ext:. I also tried to change CVS_RSH to garbage and then it merely errors out unable to execute the command. Here is the trace on the CVS command if all is set properly: C:\WINDOWS>cvs -t co panjasourceCVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]ource.sourceforge.net:/cvsroot/panjasource -> Starting server: ssh cvs.panjasource.sourceforge.net -l sheldon_samuels cvsserverPassword:S-> do_module (panjasource, Updating, , )You'll notice that it asks for a password. It does appear to be doing the update thing, but it required that I enter my password first. If I try to use WinCVS to do the same thing, WinCVS (Ver 1.1b13) just gives me -BASH errors after it creates an interactive session. (I assume this means that SSH did autologin properly.) Don't know if this is something that is related or not, but I thought I might mention it. Thanks. Sheldon Samuels >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 09:19AM >>>I didn't realize you were running on Windows. I've noticed that the Windowsversion of CVS 1.10.8 doesn't use CVS_RSH unless CVSROOT is prefixed by :ext:.To verify that this is the case, try setting CVS_RSH to garbage. I think thisis a bug, but I'm not sure (ie it might've been changed to this behaviour onpurpose).Anyway, try prefixing CVSROOT with ":ext:".Noel[EMAIL PROTECTED] on 06/06/2000 10:01:28 AMTo: [EMAIL PROTECTED]cc: [EMAIL PROTECTED]Subject: Re: CVS access using SSHHere is the response I get if I type in SSH just like CVS is executing:C:\WINDOWS>ssh cvs.panjasource.sourceforge.net -l sheldon_samuelsPassword:Last login: Tue Jun 6 06:50:09 2000 from 216.216.209.7No mail.Welcome to cvs1.sourceforge.netThis is a restricted Shell AccountYou cannot execute anything here.Connection to cvs.panjasource.sourceforge.net closed.However, if I type in without the "cvs.", then I autologin properly. Again, theSSH command that works is as follows:C:\WINDOWS>ssh panjasource.sourceforge.net -l sheldon_samuelsWith this second command, I get right into my repository with no password.Does CVS use the CVSROOT to fire off the SSH command? Can CVS be instructed touse a location for SSH other than CVSROOT? Or is there a way to get CVS to dropthe "cvs." when executing SSH, but to include "cvs." for everything else?Thanks.Sheldon SamuelsPanja Software Product Manager>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:43AM >>>I'm not sure what's going on here, but I do see that, when you use ssh toautologin, you specify the address without the "cvs." prefix. It would makesense that if you're able to autologin with one address, CVS shouldn't promptfor a password with the same address. Are you able to autologin using ssh tocvs.projectname.sourceforge.net? Are you sure their side is configuredproperly?Noel[EMAIL PROTECTED] on 06/06/2000 09:22:33 AMTo: [EMAIL PROTECTED]cc: [EMAIL PROTECTED]Subject: Re: CVS access using SSHMy variables are set as follows:SET CVSROOT=cvs.projectname.sourceforge.netSET CVS_RSH=sshAn interesting thing occurs as follows: If I remove the "cvs." from the above,then SSH autologs in, but CVS is pointing to the wrong location on Sourceforge'sservers and I'm not allowed to do anything. It seems that CVS is using thevalue of CVSROOT to autolog in using SSH, but doing it incorrectly. I haven'ttried to look into the actual source code for CVS to see why, but I stronglysuspect that somehow its purposely doing this.I've used CVS -t to view the commands and have confirmed that this is occuring.I can attach the specifics if it would help.Thanks for the assistance.Sheldon SamuelsPanja Software Product Manager>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:07AM >>>Hmmm. That's strange. How do you have your CVS environment variables defined(ie env | grep CVS)? Do you have CVS_RSH set?Noel[EMAIL PROTECTED] on 06/05/2000 05:42:29 PMTo: [EMAIL PROTECTED]cc: [EMAIL PROTECTED]Subject: Re: CVS access using SSHI have run SSH directly and gotten through to the CVS Server without entering apassword. I didn't enter a passphrase when creating the key and am fairlyconfident that the keys were created and uploaded properly.If I enter: ssh -v projectname.sourceforge.netI can go right in without a password or passphrase.It's only when I try to use CVS that it seems to require a password. It seemsthat CVS requires the CVSROOT to be defined one way, which works if you enter apassword, but doesn't work if you try to go without one.Thanks for the assistance.Sheldon Samuels>>> "Noel L Yap" <[EMAIL PROTECTED]>
Re: CVS access using SSH
Here is the response I get if I type in SSH just like CVS is executing: C:\WINDOWS>ssh cvs.panjasource.sourceforge.net -l sheldon_samuelsPassword:Last login: Tue Jun 6 06:50:09 2000 from 216.216.209.7No mail. Welcome to cvs1.sourceforge.net This is a restricted Shell AccountYou cannot execute anything here. Connection to cvs.panjasource.sourceforge.net closed. However, if I type in without the "cvs.", then I autologin properly. Again, the SSH command that works is as follows: C:\WINDOWS>ssh panjasource.sourceforge.net -l sheldon_samuels With this second command, I get right into my repository with no password. Does CVS use the CVSROOT to fire off the SSH command? Can CVS be instructed to use a location for SSH other than CVSROOT? Or is there a way to get CVS to drop the "cvs." when executing SSH, but to include "cvs." for everything else? Thanks. Sheldon Samuels Panja Software Product Manager>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:43AM >>>I'm not sure what's going on here, but I do see that, when you use ssh toautologin, you specify the address without the "cvs." prefix. It would makesense that if you're able to autologin with one address, CVS shouldn't promptfor a password with the same address. Are you able to autologin using ssh tocvs.projectname.sourceforge.net? Are you sure their side is configuredproperly?Noel[EMAIL PROTECTED] on 06/06/2000 09:22:33 AMTo: [EMAIL PROTECTED]cc: [EMAIL PROTECTED]Subject: Re: CVS access using SSHMy variables are set as follows:SET CVSROOT=cvs.projectname.sourceforge.netSET CVS_RSH=sshAn interesting thing occurs as follows: If I remove the "cvs." from the above,then SSH autologs in, but CVS is pointing to the wrong location on Sourceforge'sservers and I'm not allowed to do anything. It seems that CVS is using thevalue of CVSROOT to autolog in using SSH, but doing it incorrectly. I haven'ttried to look into the actual source code for CVS to see why, but I stronglysuspect that somehow its purposely doing this.I've used CVS -t to view the commands and have confirmed that this is occuring.I can attach the specifics if it would help.Thanks for the assistance.Sheldon SamuelsPanja Software Product Manager>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:07AM >>>Hmmm. That's strange. How do you have your CVS environment variables defined(ie env | grep CVS)? Do you have CVS_RSH set?Noel[EMAIL PROTECTED] on 06/05/2000 05:42:29 PMTo: [EMAIL PROTECTED]cc: [EMAIL PROTECTED]Subject: Re: CVS access using SSHI have run SSH directly and gotten through to the CVS Server without entering apassword. I didn't enter a passphrase when creating the key and am fairlyconfident that the keys were created and uploaded properly.If I enter: ssh -v projectname.sourceforge.netI can go right in without a password or passphrase.It's only when I try to use CVS that it seems to require a password. It seemsthat CVS requires the CVSROOT to be defined one way, which works if you enter apassword, but doesn't work if you try to go without one.Thanks for the assistance.Sheldon Samuels>>> "Noel L Yap" <[EMAIL PROTECTED]> 06/05/00 04:29PM >>>Are you able to setup ssh-agent and cvs-add your private key to it? This willallow ssh not to require the passphrase each and every time you or CVS uses it.I'm not sure how this works on 95, though.Noel[EMAIL PROTECTED] on 06/05/2000 03:27:52 PMTo: [EMAIL PROTECTED]cc: (bcc: Noel L Yap)Subject: CVS access using SSHIt seems that CVS is trying to send an inaccurate command when attempting to useSSH and authorized keys. I am trying to configure my CVS so that it doesn'trequire a password each and every time I run it. I have also used the -t traceoption to determine what CVS is trying to do. Here is what I found:CVS tries to execute the following SSH command: "ssh cvs.projectname.sourceforge.net -l username cvs server"If I try to run this very same command at a DOS Prompt (I'm on a Win95 machine),I get an error that this is a protected shell acount that I cannot access. If Iremove the "cvs." and the "cvs server" then all works well.Is there a way to define the specific command sent? I know that my shared keysare also set up correctly.Thanks in advance for the help.Sheldon SamuelsThis communication is for informational purposes only. It is not intended asan offer or solicitation for the purchase or sale of any financial instrumentor as an official confirmation of any transaction. All market prices, dataand other information are not warranted as to completeness or accuracy andare subject to change without notice. Any comments or statements made hereindo not necessarily reflect those
RE: CVS access using SSH
You do need the :ext: if you're on a Windows PC (at least on Win95). My CVS works fine, as long as I enter my password everytime. And SSH works without a password by itself (ssh -v projectname.sourceforge.net). >>> "Dennis Jones" <[EMAIL PROTECTED]> 06/06/00 05:31PM >>> I think this is by design. The default access method is :server:, not :ext:. - Dennis -Original Message- From: Noel L Yap [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 06, 2000 7:19 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH I didn't realize you were running on Windows. I've noticed that the Windows version of CVS 1.10.8 doesn't use CVS_RSH unless CVSROOT is prefixed by :ext:. To verify that this is the case, try setting CVS_RSH to garbage. I think this is a bug, but I'm not sure (ie it might've been changed to this behaviour on purpose). Anyway, try prefixing CVSROOT with ":ext:". Noel [EMAIL PROTECTED] on 06/06/2000 10:01:28 AM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH Here is the response I get if I type in SSH just like CVS is executing: C:\WINDOWS>ssh cvs.panjasource.sourceforge.net -l sheldon_samuels Password: Last login: Tue Jun 6 06:50:09 2000 from 216.216.209.7 No mail. Welcome to cvs1.sourceforge.net This is a restricted Shell Account You cannot execute anything here. Connection to cvs.panjasource.sourceforge.net closed. However, if I type in without the "cvs.", then I autologin properly. Again, the SSH command that works is as follows: C:\WINDOWS>ssh panjasource.sourceforge.net -l sheldon_samuels With this second command, I get right into my repository with no password. Does CVS use the CVSROOT to fire off the SSH command? Can CVS be instructed to use a location for SSH other than CVSROOT? Or is there a way to get CVS to drop the "cvs." when executing SSH, but to include "cvs." for everything else? Thanks. Sheldon Samuels Panja Software Product Manager >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:43AM >>> I'm not sure what's going on here, but I do see that, when you use ssh to autologin, you specify the address without the "cvs." prefix. It would make sense that if you're able to autologin with one address, CVS shouldn't prompt for a password with the same address. Are you able to autologin using ssh to cvs.projectname.sourceforge.net? Are you sure their side is configured properly? Noel [EMAIL PROTECTED] on 06/06/2000 09:22:33 AM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH My variables are set as follows: SET CVSROOT=cvs.projectname.sourceforge.net SET CVS_RSH=ssh An interesting thing occurs as follows: If I remove the "cvs." from the above, then SSH autologs in, but CVS is pointing to the wrong location on Sourceforge's servers and I'm not allowed to do anything. It seems that CVS is using the value of CVSROOT to autolog in using SSH, but doing it incorrectly. I haven't tried to look into the actual source code for CVS to see why, but I strongly suspect that somehow its purposely doing this. I've used CVS -t to view the commands and have confirmed that this is occuring. I can attach the specifics if it would help. Thanks for the assistance. Sheldon Samuels Panja Software Product Manager >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/06/00 08:07AM >>> Hmmm. That's strange. How do you have your CVS environment variables defined (ie env | grep CVS)? Do you have CVS_RSH set? Noel [EMAIL PROTECTED] on 06/05/2000 05:42:29 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH I have run SSH directly and gotten through to the CVS Server without entering a password. I didn't enter a passphrase when creating the key and am fairly confident that the keys were created and uploaded properly. If I enter: ssh -v projectname.sourceforge.net I can go right in without a password or passphrase. It's only when I try to use CVS that it seems to require a password. It seems that CVS requires the CVSROOT to be defined one way, which works if you enter a password, but doesn't work if you try to go without one. Thanks for the assistance. Sheldon Samuels >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/05/00 04:29PM >>> Are you able to setup ssh-agent and cvs-add your private key to it? This will allow ssh not to require the passphrase each and every time you or CVS uses it. I'm not sure how this works on 95, though. Noel [EMAIL PROTECTED] on 06/05/2000 03:27:52 PM To: [EMAIL PROTECTED] cc: (bcc: Noel L Yap) Subject: CVS access using SSH It seems that CVS is trying to send an inaccurate command when att
Re: CVS access using SSH
>OK. This kinda tells me your CVSROOT should point to the one without "cvs.". > >>Does CVS use the CVSROOT to fire off the SSH command? Can CVS be instructed to >use a location for SSH other than CVSROOT? > >I don't understand your questions. Can you explain a bit more? > >>Or is there a way to get CVS to drop the "cvs." when executing SSH, but to >include "cvs." for everything else? > >I'm not convinced that this would be a viable workaround. Have you tried to >remotely execute a command using SSH? Maybe this is where it's going wrong? > >Noel If I edit the CVSROOT (actually by changing the ROOT file found in the CVS subdirectory), here is the result: C:\src>cvs -t co -c CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasource > Starting server: ssh panjasource.sourceforge.net -l sheldon_samuels cvs server Cannot access /cvsroot/panjasource/CVSROOT No such file or directory You can see that now SSH works without asking for a password, but I get an errorthat no file or directory is found. And this specific project does have files and has been imported, checked out, updated, etc. through CVS by entering a password everytime. So I can either have CVS work properly or have SSH work, but not both. For completeness, here is the same action, with cvs. in the root path. C:\src>cvs -t co -c CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasource -> Starting server: ssh cvs.panjasource.sourceforge.net -l sheldon_samuels cvs server Password: Now the cvs command works, but I was required to enter a password. The only difference being the fact that "cvs." is entered in the CVSROOT path. Does this help explain the problem? Thanks. Sheldon Samuels
Re: CVS access using SSH
Well, I now get a different set of errors, although I'm not sure if this is from SSH or CVS. Here is what I've done. 1) I created a batch file (sshx.bat) and placed the proper SSH command inside of the batch. The SSH command is as follows: ssh -v projectname.sourceforge.net -l username 2) I then set my CVS_RSH=sshx.bat 3) Now when I run "CVS UPD" I get the following response: SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4. Standard version. Does not use RSAREF. Pseudo-terminal will not be allocated because stdin is not a terminal. ssh_connect: getuid 0 geteuid 0 anon 0 Connecting to panjasource.sourceforge.net [198.186.203.44] port 22. Connection established. Remote protocol version 1.5, remote software version 1.2.27 Waiting for server public key. Received server public key (768 bits) and host key (1024 bits). Host 'panjasource.sourceforge.net' is known and matches the host key. Initializing random; seed file c:\home/.ssh/random_seed Encryption type: idea Sent encrypted session key. Received encrypted confirmation. Trying RSA authentication with key 'smskeys' Received RSA challenge from server. Sending response to host key RSA challenge. Remote: RSA authentication accepted. RSA authentication accepted by server. Requesting shell. Entering interactive session. -bash: Root: command not found -bash: Valid-responses: command not found -bash: valid-requests: command not found As best I can tell, it did indeed login successfully without the need to enter a password. However, it locks up immediately after the 3 -bash errors. Are these coming from CVS or SSH? Any ideas? Thanks. Sheldon Samuels Panja Software Product Manager >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 07:47AM >>> It's worth a shot. Noel [EMAIL PROTECTED] on 06/06/2000 10:28:34 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Noel L Yap) Subject: Re: CVS access using SSH OK. I can understand that. But what is a solution to this. It still appears to me that CVS is passing over the wrong SSH parameters. If CVS would simply fire off the correct SSH command, then it would solve my problem. Can I create a batch file (sshx.bat) and set CVS_RSH to sshx.bat and execute something else that way? - Original Message - From: "Charles M. Hannum" <[EMAIL PROTECTED]> To: "Sheldon Samuels" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 6:10 PM Subject: Re: CVS access using SSH > > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasourc e > > > Starting server: ssh panjasource.sourceforge.net -l sheldon_samuels cvs serverCannot access /cvsroot/panjasource/CVSROOT > > No such file or directory > ... > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjas ource > > -> Starting server: ssh cvs.panjasource.sourceforge.net -l sheldon_samuels cvs server > > Password: > > I have only this to say: > > lop-nor$ host cvs.panjasource.sourceforge.net > cvs.panjasource.sourceforge.net is a nickname for slayer.sourceforge.net > slayer.sourceforge.net has address 198.186.203.37 > slayer.sourceforge.net has address 198.186.203.37 > lop-nor$ host panjasource.sourceforge.net > panjasource.sourceforge.net has address 198.186.203.44 > lop-nor$ > > THEY'RE NOT THE SAME MACHINE. > This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
Re: CVS access using SSH
I decided to get into the CVS code myself and look around as to what could be happening. Here is what I have found. I'm not certain how to fix this or if it can be fixed, but could someone tell me if I'm on track or way off base. In looking at the file client.c, it seems that CVS is using CVS_RSH, CVS_Hostname, and CVS_username to create the SSH command that is then executed automatically, assuming that CVS_RSH is equal to SSH. However, in order to make CVS work properly, you must set CVS_hostname equal to cvs.projectname.sourceforge.net. SSH requires that cvs_hostname must be simply projectname.sourceforge.net. It would seem to be a simple process to remove the "cvs." from the hostname prior to executing the SSH command. If this isn't correct for all users, maybe add a switch or option flag to CVS to indicate whether this should be done or not. I'll check with Sourceforge as well. Thanks in advance. >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 07:47AM >>> It's worth a shot. Noel [EMAIL PROTECTED] on 06/06/2000 10:28:34 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Noel L Yap) Subject: Re: CVS access using SSH OK. I can understand that. But what is a solution to this. It still appears to me that CVS is passing over the wrong SSH parameters. If CVS would simply fire off the correct SSH command, then it would solve my problem. Can I create a batch file (sshx.bat) and set CVS_RSH to sshx.bat and execute something else that way? - Original Message ----- From: "Charles M. Hannum" <[EMAIL PROTECTED]> To: "Sheldon Samuels" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 6:10 PM Subject: Re: CVS access using SSH > > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasourc e > > > Starting server: ssh panjasource.sourceforge.net -l sheldon_samuels cvs serverCannot access /cvsroot/panjasource/CVSROOT > > No such file or directory > ... > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjas ource > > -> Starting server: ssh cvs.panjasource.sourceforge.net -l sheldon_samuels cvs server > > Password: > > I have only this to say: > > lop-nor$ host cvs.panjasource.sourceforge.net > cvs.panjasource.sourceforge.net is a nickname for slayer.sourceforge.net > slayer.sourceforge.net has address 198.186.203.37 > slayer.sourceforge.net has address 198.186.203.37 > lop-nor$ host panjasource.sourceforge.net > panjasource.sourceforge.net has address 198.186.203.44 > lop-nor$ > > THEY'RE NOT THE SAME MACHINE. > This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
Re: CVS access using SSH
That would certainly work too. I tried setting CVS_Hostname, both in Autoexec.bat and by forcing it in the code, but these didn't work as it is apparently used other places. Is this something that can be changed without too much trouble? Have I missed some other alternative? >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 02:51PM >>> A more general solution (that wouldn't break anyone's setup) would be to introduce another variable. If this variable's set, use it, otherwise, use CVS_Hostname (or however it's capitalized). Noel [EMAIL PROTECTED] on 06/07/2000 03:31:37 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: CVS access using SSH I decided to get into the CVS code myself and look around as to what could be happening. Here is what I have found. I'm not certain how to fix this or if it can be fixed, but could someone tell me if I'm on track or way off base. In looking at the file client.c, it seems that CVS is using CVS_RSH, CVS_Hostname, and CVS_username to create the SSH command that is then executed automatically, assuming that CVS_RSH is equal to SSH. However, in order to make CVS work properly, you must set CVS_hostname equal to cvs.projectname.sourceforge.net. SSH requires that cvs_hostname must be simply projectname.sourceforge.net. It would seem to be a simple process to remove the "cvs." from the hostname prior to executing the SSH command. If this isn't correct for all users, maybe add a switch or option flag to CVS to indicate whether this should be done or not. I'll check with Sourceforge as well. Thanks in advance. >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 07:47AM >>> It's worth a shot. Noel [EMAIL PROTECTED] on 06/06/2000 10:28:34 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Noel L Yap) Subject: Re: CVS access using SSH OK. I can understand that. But what is a solution to this. It still appears to me that CVS is passing over the wrong SSH parameters. If CVS would simply fire off the correct SSH command, then it would solve my problem. Can I create a batch file (sshx.bat) and set CVS_RSH to sshx.bat and execute something else that way? - Original Message - From: "Charles M. Hannum" <[EMAIL PROTECTED]> To: "Sheldon Samuels" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 06, 2000 6:10 PM Subject: Re: CVS access using SSH > > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjasourc e > > > Starting server: ssh panjasource.sourceforge.net -l sheldon_samuels cvs serverCannot access /cvsroot/panjasource/CVSROOT > > No such file or directory > ... > > C:\src>cvs -t co -c > > CVS.EXE checkout: notice: main loop with CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/panjas ource > > -> Starting server: ssh cvs.panjasource.sourceforge.net -l sheldon_samuels cvs server > > Password: > > I have only this to say: > > lop-nor$ host cvs.panjasource.sourceforge.net > cvs.panjasource.sourceforge.net is a nickname for slayer.sourceforge.net > slayer.sourceforge.net has address 198.186.203.37 > slayer.sourceforge.net has address 198.186.203.37 > lop-nor$ host panjasource.sourceforge.net > panjasource.sourceforge.net has address 198.186.203.44 > lop-nor$ > > THEY'RE NOT THE SAME MACHINE. > This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
RE: CVS access using SSH
I'm not sure. That's one of the things I've been trying to figure out. I'm not using PSERVER though. >>> Chris Cameron <[EMAIL PROTECTED]> 06/07/00 08:42PM >>> On Thursday, June 08, 2000 4:59 AM, Sheldon Samuels [SMTP:[EMAIL PROTECTED]] wrote: > Well, I now get a different set of errors, although I'm not sure if this is from SSH >or CVS. Here is what I've done. > > 1) I created a batch file (sshx.bat) and placed the proper SSH command inside of >the batch. The SSH command is as follows: > > ssh -v projectname.sourceforge.net -l username > > 2) I then set my CVS_RSH=sshx.bat > > 3) Now when I run "CVS UPD" I get the following response: > > SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4. > Standard version. Does not use RSAREF. > Pseudo-terminal will not be allocated because stdin is not a terminal. > ssh_connect: getuid 0 geteuid 0 anon 0 > Connecting to panjasource.sourceforge.net [198.186.203.44] port 22. > Connection established. > Remote protocol version 1.5, remote software version 1.2.27 > Waiting for server public key. > Received server public key (768 bits) and host key (1024 bits). > Host 'panjasource.sourceforge.net' is known and matches the host key. > Initializing random; seed file c:\home/.ssh/random_seed > Encryption type: idea > Sent encrypted session key. > Received encrypted confirmation. > Trying RSA authentication with key 'smskeys' > Received RSA challenge from server. > Sending response to host key RSA challenge. > Remote: RSA authentication accepted. > RSA authentication accepted by server. > Requesting shell. > Entering interactive session. > -bash: Root: command not found > -bash: Valid-responses: command not found > -bash: valid-requests: command not found > This may be too late and you may have solved the problem, but aren't the last three commands part of the pserver protocol? *** Chris CameronOpen Telecommunications NZ Ltd Senior Solution Architect [EMAIL PROTECTED] P.O.Box 10-388 +64 4 495 8403 (DDI) The Terrace fax: +64 4 495 8419 Wellington cell: +64 21 650 680New Zealand Life, don't talk to me about life (Marvin - HHGTTG)
Re: CVS access using SSH
Actually, the ssh command that I have: ssh -v projectname.sourceforge.net -l username does work just fine. It's simply that if I use the batch file, it does autologin, but it then causes the -BASH errors that keep CVS from continuing. Without a change to CVS, about the only solution I can come up with at this time, is to upload my public/private key to a different location at Sourceforge, if this is allowed, so that it will find the key when it tries to log me into cvs.projectname.sourceforge.net. WinCVS has the same problems, although it's likely because it is simply using the command line client, rather than executing something new and different. Anyway, thanks for the help. Sheldon Samuels >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/08/00 07:31AM >>> I'm saying that if you stuck the line: ssh projectname.sourceforge.net -l username cvs server in your sshx.bat file, it might work since you would essentially be overriding what the CVS client does. Noel [EMAIL PROTECTED] on 06/07/2000 08:35:16 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: CVS access using SSH You are correct in that "cvs server" is at the end of the command, but it's the command executed by CVS (on the client side) that is the problem in that it autocreates the format. And I can't change how it looks. CVS creates the following command, which doesn't work: ssh cvs.projectname.sourceforge.net -l username cvs server About the only way to make this work is to place my public/private key on the cvs.projectname.sourceforge.net server and hope that works. I'm looking into this as well. Thanks for the help. Sheldon Samuels - Original Message - From: "Noel L Yap" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 07, 2000 6:56 PM Subject: Re: CVS access using SSH > When using CVS_RSH, CVS will execute: > $CVS_RSH hostname cvs server > > This means your command line should've been: > ssh -v projectname.sourceforge.net -l username cvs server > > Try that. > > Also try: > ssh -v projectname.sourceforge.net -l username > "CVS_Hostname=cvs.projectname.sourceforge.net cvs server" > > Noel > > > > > [EMAIL PROTECTED] on 2000.06.07 12:59:01 > > To: [EMAIL PROTECTED] > cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: CVS access using SSH > > > > > Well, I now get a different set of errors, although I'm not sure if this is from > SSH or CVS. Here is what I've done. > > 1) I created a batch file (sshx.bat) and placed the proper SSH command inside > of the batch. The SSH command is as follows: > > ssh -v projectname.sourceforge.net -l username > > 2) I then set my CVS_RSH=sshx.bat > > 3) Now when I run "CVS UPD" I get the following response: > > SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4. > Standard version. Does not use RSAREF. > Pseudo-terminal will not be allocated because stdin is not a terminal. > ssh_connect: getuid 0 geteuid 0 anon 0 > Connecting to panjasource.sourceforge.net [198.186.203.44] port 22. > Connection established. > Remote protocol version 1.5, remote software version 1.2.27 > Waiting for server public key. > Received server public key (768 bits) and host key (1024 bits). > Host 'panjasource.sourceforge.net' is known and matches the host key. > Initializing random; seed file c:\home/.ssh/random_seed > Encryption type: idea > Sent encrypted session key. > Received encrypted confirmation. > Trying RSA authentication with key 'smskeys' > Received RSA challenge from server. > Sending response to host key RSA challenge. > Remote: RSA authentication accepted. > RSA authentication accepted by server. > Requesting shell. > Entering interactive session. > -bash: Root: command not found > -bash: Valid-responses: command not found > -bash: valid-requests: command not found > > As best I can tell, it did indeed login successfully without the need to enter a > password. However, it locks up immediately after the 3 -bash errors. Are these > coming from CVS or SSH? Any ideas? > > Thanks. > Sheldon Samuels > Panja Software Product Manager > > >>> "Noel L Yap" <[EMAIL PROTECTED]> 06/07/00 07:47AM >>> > It's worth a shot. > > Noel > > > > > [EMAIL PROTECTED] on 06/06/2000 10:28:34 PM > > To: [EMAIL PROTECTED] > cc: [EMAIL PROTECTED] (bcc: Noel L Yap) > Subject: Re: CVS access using SSH > > > > > OK. I can understand that. But what is a solution to this. It still > appears to me that CVS is passing over t
Re: CVS client on Windows platform
WinCVS does work, although you need to enter a password with every command. There is a document on Sourceforge's website (sourceforge.net) that explains how to set WinCVS up so that it works. If you can't find it, let me know and I can send you the URL. It will describe how to set up your access so that you don't have to enter your password everytime, but I haven't been able to make that work. But it does work well, if you don't mind entering your password. It's the only client that I've found. Sheldon Samuels Panja Inc. >>> <[EMAIL PROTECTED]> 06/08/00 05:25AM >>> My CVS server is in UNIX platform. I am looking for a CVS client on Windows platform. I have checked out some CVS useful sites (e.g. www.cvshome.org). Eventually, I find a suitable CVS client (i.e. wincvs). However, I can't make it connecting to the CVS server. As the documentation mentions that I can use SSH command and .rhost file to connect CVS server. But as I know that, this method is used in UNIX-UNIX machine connection. Please if anybody can teach me in details how to connect my CVS server by using WinCVS in my PC. Besides of WinCVS, is there any good CVS client software running in PC Windows environment ?
Re: NEW - UNKNOWN HOST
Try CVS -t LOGIN to see what CVS is trying to send. Are you using PSERVER, SSH, or something else? Not sure that I can help, but others might with this info. >>> "Robert Balahura" <[EMAIL PROTECTED]> 06/08/00 01:10AM >>> I am using WIN NT to login to a LINUX CVS SERVER when I type CVS LOGIN at the c prompt I get a "UNKNOWN HOST" error. I have everything set up according to the documentation, and I can ping my host machine so I'm not sure what the problem is. Has anyone solved this when they started using cvs from NT environment?
Re: CVS client on Windows platform
Are you using SSH or PSERVER? If you are using SSH, how are you configured? I cannot get SSH to autoconnect (at least not to Sourceforge's servers) without errors. SSH works from a command line properly so I know my keys have been created and uploaded, but it won't work with CVS or WinCVS. >>> Joachim Feise <[EMAIL PROTECTED]> 06/08/00 11:02AM >>> Sheldon Samuels wrote: > > WinCVS does work, although you need to enter a password with every command. ??? Where did you get that from? I am using WinCVS for over a year now, and always only had to login at the beginning of a session. -Joe
Re: CVS client on Windows platform
The problem was how my key had been uploaded to the CVS Server. Once I resolved this, then all started working. Sorry for any confusion. >>> Joachim Feise <[EMAIL PROTECTED]> 06/08/00 12:52PM >>> Sheldon Samuels wrote: > > WinCVS does work, although you need to enter a password with every command. ??? Where did you get that from? I am using WinCVS for over a year now, and always only had to login at the beginning of a session. -Joe
RE: CVS client on Windows platform
Well, you've gone way past my expertise. Sorry if I mislead you. I've copied this to the group in hopes that someone can help you. I'm using WinCVS with SSH and have only done the client side (i.e. Windows) of this setup. And I am also very new to all of this. >>> "Patrick Hung" <[EMAIL PROTECTED]> 06/08/00 10:57PM >>> I just try to install WinCVS, I prefer to SSH connection. But I don't know how to configure the connection between my PC and my existing CVS Unix server. Because the document seems just tell me the Unix-Unix connection. The following shows u the document. = Connecting with rsh *** CVS uses the `rsh' protocol to perform these operations, so the remote user host needs to have a `.rhosts' file which grants access to the local user. For example, suppose you are the user `mozart' on the local machine `toe.example.com', and the server machine is `faun.example.org'. On faun, put the following line into the file `.rhosts' in `bach''s home directory: toe.example.com mozart Then test that rsh is working with rsh -l bach faun.example.org 'echo $PATH' Next you have to make sure that rsh will be able to find the server. Make sure that the path which rsh printed in the above example includes the directory containing a program named cvs which is the server. You need to set the path in `.bashrc', `.cshrc', etc., not `.login' or `.profile'. Alternately, you can set the environment variable CVS_SERVER on the client machine to the filename of the server you want to use, for example `/usr/local/bin/cvs-1.6'. There is no need to edit `inetd.conf' or start a CVS server daemon. There are two access methods that you use in CVSROOT for rsh. :server: specifies an internal rsh client, which is supported only by some CVS ports. :ext: specifies an external rsh program. By default this is rsh but you may set the CVS_RSH environment variable to invoke another program which can access the remote server (for example, remsh on HP-UX 9 because rsh is something different). It must be a program which can transmit data to and from the server without modifying it; for example the Windows NT rsh is not suitable since it by default translates between CRLF and LF. The OS/2 CVS port has a hack to pass `-b' to rsh to get around this, but since this could potentially cause problems for programs other than the standard rsh, it may change in the future. If you set CVS_RSH to SSH or some other rsh replacement, the instructions in the rest of this section concerning `.rhosts' and so on are likely to be inapplicable; consult the documentation for your rsh replacement. Continuing our example, supposing you want to access the module `foo' in the repository `/usr/local/cvsroot/', on machine `faun.example.org', you are ready to go: cvs -d :ext:[EMAIL PROTECTED]:/usr/local/cvsroot checkout foo (The `bach@' can be omitted if the username is the same on both the local and remote hosts.) ======== = Could u tell me what's my problem ? How to solve it ? Regards, Patrick -Original Message- From: Sheldon Samuels [mailto:[EMAIL PROTECTED]] Sent: Friday, June 09, 2000 12:49 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: CVS client on Windows platform Are you using SSH or PSERVER? If you are using SSH, how are you configured? I cannot get SSH to autoconnect (at least not to Sourceforge's servers) without errors. SSH works from a command line properly so I know my keys have been created and uploaded, but it won't work with CVS or WinCVS. >>> Joachim Feise <[EMAIL PROTECTED]> 06/08/00 11:02AM >>> Sheldon Samuels wrote: > > WinCVS does work, although you need to enter a password with every command. ??? Where did you get that from? I am using WinCVS for over a year now, and always only had to login at the beginning of a session. -Joe
Re: CVS access using SSH
Just for the record, since I started this chain, I have resolved my problem. It turned out that my private key had not been uploaded to the proper server or at least not uploaded properly. I plan to document how all of this works, at least with SourceForge, for others that might have this same trouble. Thanks to all that offered assistance. >>> Ondrej Popp <[EMAIL PROTECTED]> 06/09/00 02:27AM >>> This may be a different situation but I thougth it worthwile to mention, I have been trying to do cvs access with SSH as well, and the only thing that worked for me eventualy was port forwarding. I am running a cvs server at my Linux PC at home, and am trying to access it from my work (HP-UX). So at work I did not want to do batch login, because I did not want my passwords lying around in some files. So I tried to set up hostbased authentification that never worked because I guess I did not have ssh installed in the super user mode, as was mentioned in the docs. Then I found out about the portforwarding feauture of ssh and that worked at last. have a look at http://www.acl.lanl.gov/aclcore/users/technotes/ssh_portforwarding.html#cvs for details. Basicaly what you is, ssh -L2401:remotesite.domain.com:2401 remotesite.domain.com ssh will give you a prompt so you can login to the remote site, but you only have to do this once. Once this is done, there is a channel from the remote cvs server port 2401, to your local host port 2401. Now, in an other shell, on the client side (so not the ssh one, you can pop the ssh shell down for the rest) you can just do cvs -d :pserver:user@localhost:/path/to/repository just as the server was sitting on the client side. Once you terminate the ssh shell, the chanel is gone again and the cvs server will not be accessible anymore. This weekend I'll try to enhance things with kerberos, but I think as I am using ssh maybe this is not really necessary anymore. But maybe it still is because of this .cvspass file, you just never know :) Anyway, port forwarding works great for me. Ondrej Chris Cameron wrote: > > On Thursday, June 08, 2000 4:59 AM, Sheldon Samuels [SMTP:[EMAIL PROTECTED]] >wrote: > > Well, I now get a different set of errors, although I'm not sure if this is from >SSH or CVS. Here is what I've done. > > > > 1) I created a batch file (sshx.bat) and placed the proper SSH command inside of >the batch. The SSH command is as follows: > > > > ssh -v projectname.sourceforge.net -l username > > > > 2) I then set my CVS_RSH=sshx.bat > > > > 3) Now when I run "CVS UPD" I get the following response: > > > > SSH Version 1.2.14 [winnt-4.0-x86], protocol version 1.4. > > Standard version. Does not use RSAREF. > > Pseudo-terminal will not be allocated because stdin is not a terminal. > > ssh_connect: getuid 0 geteuid 0 anon 0 > > Connecting to panjasource.sourceforge.net [198.186.203.44] port 22. > > Connection established. > > Remote protocol version 1.5, remote software version 1.2.27 > > Waiting for server public key. > > Received server public key (768 bits) and host key (1024 bits). > > Host 'panjasource.sourceforge.net' is known and matches the host key. > > Initializing random; seed file c:\home/.ssh/random_seed > > Encryption type: idea > > Sent encrypted session key. > > Received encrypted confirmation. > > Trying RSA authentication with key 'smskeys' > > Received RSA challenge from server. > > Sending response to host key RSA challenge. > > Remote: RSA authentication accepted. > > RSA authentication accepted by server. > > Requesting shell. > > Entering interactive session. > > -bash: Root: command not found > > -bash: Valid-responses: command not found > > -bash: valid-requests: command not found > > > This may be too late and you may have solved the problem, but aren't the last three >commands part of the pserver protocol? > > *** > Chris CameronOpen Telecommunications NZ Ltd > Senior Solution Architect > [EMAIL PROTECTED] P.O.Box 10-388 > +64 4 495 8403 (DDI) The Terrace > fax: +64 4 495 8419 Wellington > cell: +64 21 650 680New Zealand > Life, don't talk to me about life (Marvin - HHGTTG) -- || || | http://www.geocities.com/SiliconValley/Lakes/6150| || _ || _ / ) || ( \ _( (_ | _ E-mail: [EMAIL PROTECTED]_ | _) )_ (((\ \)|_/ )( \_|(/ /))) \_/ / \ \_/ \ /\ / \ _/ \_ / /__/ \__\
Re: WinCVS setup.
The link to tcl831.exe (to fix this problem) is: http://dev.scriptics.com/software/tcltk/downloadnow83.tml This should solve your problem. >>> "Kent Yang" <[EMAIL PROTECTED]> 06/20/00 03:34PM >>> Howdy folks, I am setting WinCVS to connect to a Linux server where the CVS repository resides. I have setup the password authentication server and I seem to be able to login from WinCVS. However, I am getting an error in the status window. The error message is: TCL is *not* available, shell is disabled And when I go to the macro admin of the admin Menu in WinCVS, I do not see any of the modules in the repository. I only see TCL is not available. Do I need to setup something else on my Linux server or WinCVS. I looked through all the available doucmentation including the Don Harper WinCVS user guide and I didn't see any mentioning of TCL. If anyone can shed some light on this problem, it would be much appreciated. Thanks in advance. Kent Yang [EMAIL PROTECTED]
Re: Anybody converted VSS history to CVS?
If anyone has any good ideas on this, please reply to the group (as I'm sure you will anyway). We are in the process of doing the same. We simply did a get on the latest files and then imported them into CVS. Of course, by doing this, the history stays in VSS. We'll keep it around for that reason, i.e. as an archive. >>> Laine Stump <[EMAIL PROTECTED]> 06/22/00 11:46AM >>> Greg A. Woods writes: > > Yeah, no thanks to the broken use of sccs2rcs. Unfortunately nobody > ever wrote an "sccs2cvs" that would properly translate an SCCS > repository into CVS using CVS semanitcs. Speaking of converting to CVS from other systems - has anyone ever converted a Visual SourceSafe repo into CVS? If so, do you have a script laying around? I've convinced "the powers" that we need to switch from VSS to CVS, but we've got several years worth of VSS history and I'd much prefer to retain it in the switch. (Said "powers" don't see any advantage to doing this, but I know from experience how useful things like cvs annotate are.)
RE: [correction] [digest] Visual SourceSafe to CVS conversion
I gather these are perl scripts. Is this correct? How would I go about running these in a Win95 or WinNT environment? Can someone explain how to use these files? Possibly a step by step procedure? Nothing fancy, just the required steps. Thanks. Sheldon Samuels >>> <[EMAIL PROTECTED]> 07/01/00 05:33PM >>> >>>>> "CME" == CORUM, M E writes: CME> Alexey, I tried your URL below but it does not work. The CME> message says that this URL does not exist at this server. In an CME> attempt to figure things out, I started cutting back the URL and CME> had to cut all the way back to: http://alexm.here.ru/cvs-nserver/ CME> But I can't find any link from there that would get me to scripts CME> that convert from VSS to CVS. Can you check to make sure your CME> URL works? Ouch! http://alexm.here.ru/cvs-nserver/download/contrib/vss-to-cvs/ --alexm
RE: [correction] [digest] Visual SourceSafe to CVS conversion
I tried running these from a DOS prompt, but they don't seem to function that way. What do I need in terms of an application to execute these. It would seem that the C++ would need to be compiled first. Am I missing something here? Sorry for such basic questions. Thanks in advance. Sheldon Samuels Panja >>> Alexey Mahotkin <[EMAIL PROTECTED]> 07/07/00 02:32AM >>> >>>>> "SS" == Sheldon Samuels <[EMAIL PROTECTED]> writes: SS> I gather these are perl scripts. Is this correct? Not all of them. curth/ directory contains JavaScripts, while h.nardmann/ -- file in C++. Seems like the first choice is best for Windows. --alexm
Adding files to branches
Is it possible to add a file to a branch other than the main branch, without first adding it to the main branch? We have custom files that apply to a specific customer, but contain a feature that the application as a whole shouldn't support. These custom files are add-ons to the primary application. But in using CVS and WinCVS (I'm new to all of this), I know how to add a file and I know how to create a branch and assign a file to a branch. But can I add the file to the branch without first placing it on the Main branch. It seems that the CVS function of "ADD" only adds files to the main branch first. Also, can someone point me to the CVS Mailing list archives? Thanks. Sheldon Samuels Panja
Re: merging of binary files
I have a related question. We have source files C++ and others, that are plain text, but chose to save as Binary to insure that CVS doesn't do keyword substitution on our files in inappropriate places. Since the code was pre-existing when we went to Open Source, we were concerned that there may be keywords in the code that were not intended to be keywords. So all files were added as binary just to be safe. Were we being too cautious? Will CVS attempt to merge these files, since they are text, or will it assume they are unreadable binary files. I have successfully been able to do a diff between different versions of a file in some testing that I did. We are just now coming up to speed on CVS. We are using WinCVS, in case that matters. Thanks in advance. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson >>> <[EMAIL PROTECTED]> 07/25/00 11:59AM >>> "binary" simply means that it is not a plain-text-based file separated by newline characters. "Merging", as performed by CVS, diff, etc. is performed on a line-by-line basis; so.if you file doesn't have "lines", you need a tool which understands your particular file format and knows how to perform a sensible "merge". For some files like executables or JPEG images, there is no sensible way to perform a "merge". However, an M$ Word file appears "binary" since is is not stored as plain-text, even though it contains text information. Because M$ Word uses a special format to store the text information, you need a tool (such as built into Word) which understands that particular format before the "binary" M$ Word text file can be merged with another. Alan Thompson Vandana <[EMAIL PROTECTED]> on 07/25/2000 05:41:23 AM To: cvs-info <[EMAIL PROTECTED]> cc: (bcc: Alan Thompson/Orincon) Subject: merging of binary files Hi, I have to merge binary files. What are the problems encountered and how do I go about it? thanx in advance Vandana
Re: merging of binary files
Excellent idea. We'll give this a shot. Thanks. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson >>> <[EMAIL PROTECTED]> 07/25/00 02:01PM >>> The Cederqvist manual has a list of all CVS keywords. Search for these in your code and remove any that you find, then you won't have to worry about them. They all begin and end with a "$" character, such as "$ID$". I find that using the keywords is more trouble than it is worth, and is especially a pain in the neck if you want to have branches in CVS which you merge back to the trunk. We have now gotten rid of all of our keywords in our source code, and haven't missed them once ever since. Keywords are most useful if you have a less-capable CM system (such as SCCS/RCS/etc). With the power and ease of CVS, the usefullness of keywords begins to evaporate. Alan Thompson "Sheldon Samuels" <[EMAIL PROTECTED]> on 07/25/2000 10:09:49 AM To: [EMAIL PROTECTED] cc: (bcc: Alan Thompson/Orincon) Subject: Re: merging of binary files I have a related question. We have source files C++ and others, that are plain text, but chose to save as Binary to insure that CVS doesn't do keyword substitution on our files in inappropriate places. Since the code was pre-existing when we went to Open Source, we were concerned that there may be keywords in the code that were not intended to be keywords. So all files were added as binary just to be safe. Were we being too cautious? Will CVS attempt to merge these files, since they are text, or will it assume they are unreadable binary files. I have successfully been able to do a diff between different versions of a file in some testing that I did. We are just now coming up to speed on CVS. We are using WinCVS, in case that matters. Thanks in advance. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson
WinCVS Macros
I realize that this is a CVS mailing list and not a WinCVS list, but I have a WinCVS question that I am going to ask anyway. Does anyone know how to create macros to run under WinCVS? It's my understanding that you can create macros for some functions, but I can't find any documentation on how to do this. Have I misunderstood something? Thanks in advance. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson
RE: WinCVS Macros
Thanks for the info. I'll take a look and see what I can create. Does anyone know of a repository of existing Macros that are available for download? I mean Macros that the community has created that are not installed with WinCVS. Would it be worthwhile to ask WinCVS to set up an FTP site that we could contribute Macros into? Thanks those that provided help. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson >>> Olof Samuelsson <[EMAIL PROTECTED]> 08/02/00 07:31AM >>> See C:\Program Files\GNU\WinCVS\Macros\DocMacros.txt unless You installed WinCVS elsewhere. It's the only documentation I've found, but it's not bad. /Olof -Original Message- From: Sheldon Samuels [mailto:[EMAIL PROTECTED]] Sent: den 31 januari 2000 21:45 To: [EMAIL PROTECTED] Subject: WinCVS Macros I realize that this is a CVS mailing list and not a WinCVS list, but I have a WinCVS question that I am going to ask anyway. Does anyone know how to create macros to run under WinCVS? It's my understanding that you can create macros for some functions, but I can't find any documentation on how to do this. Have I misunderstood something? Thanks in advance. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson
Re: CVS-Tree
In using the Graph option, it is certainly very helpful when looking at how a file has changed. If you consider this a micro view of your module, does anyone know of a Macro view, one that shows all tags or branches for an entire directory or an entire module? I realize that this could get rather large, considering that each file could be branched any number of times, and you could have thousands of files, but would there be a way to do this, if we wanted, possibly with some filtering, so that a particular branch is only shown once? Possibly not showing individual files at all. Does anyone know of a WinCVS Macro that might do this? Another way of looking at this, would be to take the LOG command in CVS and filter it to show just the versions, tags, and branches, filtered for the directory, rather than listing this information one file at a time, as it does now. Thanks in advance. Sheldon Samuels Panja V: 800-952-6995/972-644-3048 F: 972-644-1291 e-mail: [EMAIL PROTECTED] "Enjoy Change! Savor the Adventure and the Taste of the New Cheese!" from "Who Moved the Cheese" by Spencer Johnson >>> Brett Neumeier <[EMAIL PROTECTED]> 08/01/00 03:25PM >>> TkCVS does that for files in the log window. Sadly, it doesn't show merges -- just branches. (Is there any way to show merges? Even theoretically? My suspicion is that CVS doesn't keep track of that sort of information.) > The wincvs graph command does something close to what you want. > if your on a unix box you might check and see if gcvs will do that. both > are at www.wincvs.org > > Greg. > > At 05:42 PM 7/31/2000 -0500, Rohit Desai wrote: > >Hi, > > > >Is there any tool/script around that would display the version tree in a > >format as follows : > >[...]
RE: CVS-Tree
I'm not real sure how to do this, but I will do some scouting around. The LOG command gives so much information, especially if you have a large number of files, that I'm trying to find a way to minimize this to some extent. Thanks for the comments. Please be aware that Panja will be moving to a new headquarters building in Dallas and will be shutdown from approximately Aug. 31 - Sept. 4. If this is an emergency and you need to reach me, please call my cellphone below. Sheldon Samuels Panja Voice: 800-952-6995/972-644-3048 Fax: 972-644-1291 Cell: 972-523-3051 e-mail: [EMAIL PROTECTED] "Adapt to Change Quickly The quicker you let go of the old cheese, the sooner you can enjoy the new cheese." from "Who Moved the Cheese" by Spencer Johnson >>> Guus Leeuw <[EMAIL PROTECTED]> 08/03/00 03:28PM >>> > From: Sheldon Samuels [mailto:[EMAIL PROTECTED]] > Another way of looking at this, would be to take the LOG > command in CVS and filter it to show just the versions, > tags, and branches, filtered for the directory, rather than > listing this information one file at a time, as it does now. If you want, you should write a script around cvs log. Changing CVS log to this filtering doesn't seem nice to me, as you have a wood of options to filter out / in everything you want. That's not really user friendly ;] Guus
RE: Removing stiky options
>From what I've been told, -kkv is the opposite of the -kb option. I haven't >validated this myself, but it would be simple enough to do so. I believe you use the >cvs admin command to change this. Check in one of the CVS manuals for instructions >on how to do this. Please be aware that Panja will be moving to a new headquarters building in Dallas and will be shutdown from approximately Aug. 31 - Sept. 4. If this is an emergency, please call my cellphone below. Sheldon Samuels, Panja Voice: 800-952-6995 Local thru 8/30: 972-644-3048 Local after 9/4: 469-624-8000 Fax: 972-644-1291 Cell: 972-523-3051 e-mail: [EMAIL PROTECTED] New Address: 3000 Research Dr. Richardson, TX 75082 "Adapt to Change Quickly. The quicker you let go of the old cheese, the sooner you can enjoy the new cheese." from "Who Moved the Cheese" by Spencer Johnson >>> <[EMAIL PROTECTED]> 08/10/00 05:38PM >>> What if you remove the file from the reposetory and then add it again..?? -Thomas -Original Message- From: Laurent Duperval [mailto:[EMAIL PROTECTED]] Sent: 09. august 2000 18:41 To: [EMAIL PROTECTED] Subject: Removing stiky options Hi, Someone accidentally inserted a file in the repository with the -kb flag. We want it to revert to (null). I can't figure out how to do that. The closest I came was using the -kkv flag which seems to be the normal behaviour. Am I correct? Is there a way to remove sticky flags altogether? Thanks, L P.S. Since I'm not subscribed to the list, an email response would be appreciated. I checked on egroups.com but I didn't find anything.