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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco MRA Phones 4 70
Add Mac address reservation to Sonicwall TZ 210 router 1 47
PCI Compliance Free scan 2 79
Looking for open port with Telnet 5 37
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

863 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

26 Experts available now in Live!

Get 1:1 Help Now