CVS and ssh tunnelling


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers CVS and ssh tunnelling
# 1  
Old 08-12-2009
CVS and ssh tunnelling

Hi,

I know my way around CVS but I am new to ssh tunneling. My boss has asked me to create a ssh tunnel such that when clients connect to the CVS server they do so having ssh encrypt the transmission. All the solutions I have found on the web suggest that ssh tunneling has to be setup on the CLIENT side. My manager insists that we can set up ssh tunneling side on the SERVER side so that we do not have to reconfigure anything client side.

Is this possible? If so, how?
# 2  
Old 08-12-2009
I've never used it with cvs but stunnel can be used to setup a SSL tunnel and it's done on the server side. http://www.stunnel.org. Of course your CVS client would need to support SSL in some way. If not you can setup an SSL tunnel between 2 computers using stunnel. You'd have to set it up on each client machine or use server as the other side of the tunnel and send your traffic through it. The data traveling between the clients and the proxy wouldn't be encrypted of course.
# 3  
Old 08-12-2009
Quote:
Originally Posted by mglenney
I've never used it with cvs but stunnel can be used to setup a SSL tunnel and it's done on the server side. Stunnel.org. Of course your CVS client would need to support SSL in some way. If not you can setup an SSL tunnel between 2 computers using stunnel. You'd have to set it up on each client machine or use server as the other side of the tunnel and send your traffic through it. The data traveling between the clients and the proxy wouldn't be encrypted of course.
On the page you provide it seems that stunnel has to be setup on server/client side: http://www.stunnel.org/examples/cvs.html

So I guess I am back to square one. Anyone know how to secure CVS by just making server side configurations?

Last edited by mojoman; 08-12-2009 at 02:25 PM..
# 4  
Old 08-12-2009
SSL is always client/server side in that the client has to support SSL in order for everything to work. When you connect to a web server via SSL it's because your client supports SSL and the server is setup to create SSL connections with the clients. stunnel can SSL enable just about anything but the client you are connecting to it with must support it. So, in order to do what you want you'll need a SSL enabled CVS client and a SSL enabled CVS server. If your server doesn't support SSL then that support can be added using stunnel. If you have a CVS client that supports SSL you'll be able to make the connection to the server. I did a quick search for CVS clients that support this and I didn't find much but they may be out there.

The other solution I suggested was to tunnel the traffic to and from the CVS server using stunnel. This method wouldn't require a SSL enabled client or server but would require stunnel on both ends. Either using a proxy or by having stunnel on each client machine, assuming they are *NIX based.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

ssh login cvs

Hello, I want to access a cvs server but I need to specify another user name i.e suppose that my user account is AAA and I can log on to the cvs server using another account BBB i.e AAA@local:~/Downloads$ ssh cvs Permission denied (publickey). But I can login to the system using... (1 Reply)
Discussion started by: fdc2suxs
1 Replies

2. UNIX for Dummies Questions & Answers

Can you automate CVS?

Currently we have a load of files which we manually edit and then commit back into CVS ready for whoever else to edit. I have now made a script which auto-populates these files, however the powers that be still want them accessible via CVS. Is there a way I can automatically commit these files... (7 Replies)
Discussion started by: JayC89
7 Replies

3. UNIX for Advanced & Expert Users

GPRS Tunnelling Protocol implementation under UNIX

I need to implement a program that sends CDRs (just some data) over GTP' (GTP Prime - one of the GPRS Tunnelling Protocols, http://en.wikipedia.org/wiki/GPRS_Tunnelling_Protocol). Does anybody know where I can find GTP implementation? I'v tryed OpenGGSN (http://sourceforge.net/projects/ggsn/), but... (4 Replies)
Discussion started by: Hitori
4 Replies

4. Red Hat

CVS on redhat

Hi all, i am trying to set up a CVS server on linux and to remote access the repository using WinCVS. I am facing some problem and i am unsure whether is it the client or the server not set up properly. In my winCVS client, i clicked Admin ->login and i specify my CVSROOT to be ":... (5 Replies)
Discussion started by: new2ss
5 Replies

5. Debian

What is CVS...?

Hi everyone... Could one of you kind Linux experts please let me know what CVS is In return I will kindly give you a thumbs up :b: a good trade I feel!! (1 Reply)
Discussion started by: TonyChapman
1 Replies

6. Shell Programming and Scripting

Shell account SSH Tunnelling?

What do I need to do to be able to connect to an IRC server from work? At work I'm behind a firewall that blocks all IRC connections on standard ports. I read that I could use a shell account and set something up (which I am searching what) that I could use to connect to and tunnel my... (4 Replies)
Discussion started by: KromiX
4 Replies

7. Solaris

ssh X11 tunnelling error

Hello freinds. Recently installed solaris 10 on a "sun ultra 10" with all the included features in the 5 CD set except sendmail support which i never needed. I am trying to ssh into the servers at my school which I can very easily do using linux. It seems that there is something wrong with the... (2 Replies)
Discussion started by: aijazbaig1
2 Replies

8. UNIX for Advanced & Expert Users

Cvs Cr-lf

I've experienced a problem with CVS when I've checked out sh script. When new build was created sources were checked out from CVS under Windows. Later this build was deployed under Linux und I recieved error from shell becouse of CR-LF EOL in file. I've tryed command dos2unix and become script... (7 Replies)
Discussion started by: Hitori
7 Replies

9. UNIX for Dummies Questions & Answers

CVS on UNIX

Hey guys, I am trying to setup CVS to run with an SSH connection, but am hitting a brick wall. I seem to be getting CVS to login correctly, but when I attempt to check out a module I am getting the following error: ksh: cvs: not found This is kinda implying to me that its not loading... (2 Replies)
Discussion started by: LiquidChild
2 Replies

10. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies
Login or Register to Ask a Question