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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet options/Settings 1 68
Home firewall recommendations 11 94
SonicPoint N2 will not provision on SonicWall NSA220 4 22
IP Jumping 6 27
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

730 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