Re: [gentoo-user] cvs passwords
Well, I'll try to tunnel the cvs through ssh. Do you have a good tutorial - better to say quick one ;-) Thanks Pat Raphael Melo de Oliveira Bastos Sales wrote: The safest way to do it is working through ssh, but since he wants to work as a pserver, I doubt that it is his case ;) 2005/6/13, Norberto Bensa [EMAIL PROTECTED]: Raphael Melo de Oliveira Bastos Sales wrote: pserver doesn't cryptographs the passwords, so they travel through the net as plain text Couldn't you tunnel it thru ssh? I'm not a cvs guru, I'm just curious. Anyway, I use svn now :D -- Norberto Bensa informática BeNSA 4544-9692 / 15-4190-6344 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords
Is there a package in portage that does that, or do I need to do it the hard way? 2005/6/13, Niklas Herder [EMAIL PROTECTED]: Raphael Melo de Oliveira Bastos Sales wrote: Huummm, I dunno, always used CVS in controlled enviroments, so always used pserver. I guess you could use scp to copy your files to the remote machine and then start using cvs through the remote shell as if it were in your localhost. It's actually easier to set upp cvs with ssh than with pserver, IMHO. Just have an sshd running on the cvs server, then use an address a la :ext:[EMAIL PROTECTED]:/cvsroot You may need to have the CVS_RSH variable set to /usr/bin/ssh (or whatever your path is) on your client for this to work. Piece of cake! :) -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords [SOLVED]
Yes, it was easy :-) Thanks a lot for the help. Pat Niklas Herder wrote: Raphael Melo de Oliveira Bastos Sales wrote: Huummm, I dunno, always used CVS in controlled enviroments, so always used pserver. I guess you could use scp to copy your files to the remote machine and then start using cvs through the remote shell as if it were in your localhost. It's actually easier to set upp cvs with ssh than with pserver, IMHO. Just have an sshd running on the cvs server, then use an address a la :ext:[EMAIL PROTECTED]:/cvsroot You may need to have the CVS_RSH variable set to /usr/bin/ssh (or whatever your path is) on your client for this to work. Piece of cake! :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords
Don't know, but it shouldn't be too hard to do it yourself. Just make sure all users that should have CVS access have read-write access to the CVS repository (easiest is to make a 'cvs' group, add them to that, and do 'chgrp -R cvs /cvsroot ; chmod -R 6775 /cvsroot' This is from the top of my head, but that's the general principle. I'm sure other people can fill in if I've missed something. Raphael Melo de Oliveira Bastos Sales wrote: Is there a package in portage that does that, or do I need to do it the hard way? 2005/6/13, Niklas Herder [EMAIL PROTECTED]: Raphael Melo de Oliveira Bastos Sales wrote: Huummm, I dunno, always used CVS in controlled enviroments, so always used pserver. I guess you could use scp to copy your files to the remote machine and then start using cvs through the remote shell as if it were in your localhost. It's actually easier to set upp cvs with ssh than with pserver, IMHO. Just have an sshd running on the cvs server, then use an address a la :ext:[EMAIL PROTECTED]:/cvsroot You may need to have the CVS_RSH variable set to /usr/bin/ssh (or whatever your path is) on your client for this to work. Piece of cake! :) -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords [SOLVED]
Well, there are problems ... :-( This works by logging for each request, that can be used but not so gently. Next is that I want to access CVS from the developement IDE (IntelliJ IEA), so I need to generate public/private keys for the cvs access, but don't know how :-(( Could someone help me ??? Or point me to documentation. Thanks a lot. Pat pat wrote: Yes, it was easy :-) Thanks a lot for the help. Pat Niklas Herder wrote: Raphael Melo de Oliveira Bastos Sales wrote: Huummm, I dunno, always used CVS in controlled enviroments, so always used pserver. I guess you could use scp to copy your files to the remote machine and then start using cvs through the remote shell as if it were in your localhost. It's actually easier to set upp cvs with ssh than with pserver, IMHO. Just have an sshd running on the cvs server, then use an address a la :ext:[EMAIL PROTECTED]:/cvsroot You may need to have the CVS_RSH variable set to /usr/bin/ssh (or whatever your path is) on your client for this to work. Piece of cake! :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords [SOLVED]
Use 'ssh-keygen -t dsa' and just press enter when it prompts for a password. Then you copy the .pub part of the key to your cvs server, and do 'echo id_dsa.pub .ssh/authorized_keys' in the homedir of the account you want to give access to. Then you should be able to log in without a password. /N pat wrote: Well, there are problems ... :-( This works by logging for each request, that can be used but not so gently. Next is that I want to access CVS from the developement IDE (IntelliJ IEA), so I need to generate public/private keys for the cvs access, but don't know how :-(( Could someone help me ??? Or point me to documentation. Thanks a lot. Pat pat wrote: Yes, it was easy :-) Thanks a lot for the help. Pat Niklas Herder wrote: Raphael Melo de Oliveira Bastos Sales wrote: Huummm, I dunno, always used CVS in controlled enviroments, so always used pserver. I guess you could use scp to copy your files to the remote machine and then start using cvs through the remote shell as if it were in your localhost. It's actually easier to set upp cvs with ssh than with pserver, IMHO. Just have an sshd running on the cvs server, then use an address a la :ext:[EMAIL PROTECTED]:/cvsroot You may need to have the CVS_RSH variable set to /usr/bin/ssh (or whatever your path is) on your client for this to work. Piece of cake! :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords
You mean, using the same password you use to login normally? Well, you could copy the /etc/passwd file to each CVSROOT directory in each repository, but I really think that isn't a good idea when it comes to security. pserver doesn't cryptographs the passwords, so they travel through the net as plain text -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords
Raphael Melo de Oliveira Bastos Sales wrote: pserver doesn't cryptographs the passwords, so they travel through the net as plain text Couldn't you tunnel it thru ssh? I'm not a cvs guru, I'm just curious. Anyway, I use svn now :D -- Norberto Bensa informática BeNSA 4544-9692 / 15-4190-6344 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cvs passwords
The safest way to do it is working through ssh, but since he wants to work as a pserver, I doubt that it is his case ;) 2005/6/13, Norberto Bensa [EMAIL PROTECTED]: Raphael Melo de Oliveira Bastos Sales wrote: pserver doesn't cryptographs the passwords, so they travel through the net as plain text Couldn't you tunnel it thru ssh? I'm not a cvs guru, I'm just curious. Anyway, I use svn now :D -- Norberto Bensa informática BeNSA 4544-9692 / 15-4190-6344 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list