using ssh to tunnel a service?

Posted on 2001-08-07
Last Modified: 2013-12-23
say I have two boxes A and B
A is able to use CVS and CVSup
B is not.
is there anyway I can use ssh
to make it seem to B that the
correct ports are open by tunneling
ports on B to A?

I do not want to just do all my cvsing
on A and export it with NFS or the like.

Question by:thedogeater
LVL 17

Accepted Solution

dorward earned 50 total points
ID: 6360096
ssh -L6543:localhost:6543 you@remotehost

Will let you connect to localhost port 6543 and send the data to port 6543 on the remote host. Just replace 6543 with the port that CVS oporates on (if you don't know it you could "nmap localhost" while logged in to the machine which works (nmap can be found by searching on )
LVL 51

Expert Comment

ID: 6360169
CVS can be setup using ssh: set environment variable CVS_RSH ssh, the cvs server must be using the pserver protocol

Expert Comment

ID: 6843056
Question(s) below appears to have been abandoned. Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, please comment to advise the other participants why you wish to do this.

For special handling needs, please post a zero point question in the link below and include the question QID/link(s) that it regards.
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process.  Click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, in the event new items have been created since this listing was pulled.

To view your open questions, please click the following link(s) and keep them all current with updates.

To view your locked questions, please click the following link(s) and evaluate the proposed answer.

------------>  EXPERTS:  Please leave any comments regarding this question here on closing recommendations if this item remains inactive another three days.
Thank you everyone.
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.

Expert Comment

ID: 6904015
Force-accepted by
CS Moderator
LVL 17

Expert Comment

ID: 6904027

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cisco Layer 2 Switches 6 52
Advice on setting up a new network for a small business 3 48
Nic to NIC 5 47
cisco nexus experiance 2 30
What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now