bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble setting up SSH connection to cvshome.org


From: Mark D. Baushke
Subject: Re: Trouble setting up SSH connection to cvshome.org
Date: Sat, 26 Jun 2004 01:38:00 -0700

Hi Jim,

Your goal, port forward address@hidden the remote port 2401 to your
localhost local 24010 port and then use a

 CVSROOT=:pserver:address@hidden:24010/cvs

As you are using PuTTY, you may find the following document useful:
  http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html

If you are not actually using port 2401 locally, then you could just
use 2401 for both the local and remote port numbers.

An OpenSSH user might start a terminal in which to run the command:

        ssh -L24010:localhost:2401 address@hidden

and then enter 'tunnel' as the password.

Another possibility would be to download the id_cvshome.key file:

          --------------- start id_cvshome.key ---------------
-----BEGIN DSA PRIVATE KEY-----
MIIBuwIBAAKBgQDglkZ+QjQ77bojAnqRCRrEsQzoI69yUQmK06pr2mcU9FaBptzq
6NSVKfbtbwRtfkJ+nlMokTETHac8aS3o9BDQ4+0VwJFvtJdV9Fe7QlYZbyiJ4lAW
j72ZYoh9RCCngWFGXDdqKJccs5mJJn0uH9suvqV5xJAMtXyt9b/65F/5qQIVAKmw
rDUMWhPFBekABItRZmoVB5WXAoGAceZfFCAQaLmKtuW7T8JTd08lkZ7VrJoNOj+X
xZrhz6Df9xjQO8YRddq4ZyKEw+JMbHmXEnD5R7IL2rMVGK6xOZzsyC6oPh2SPj1u
pYFKOg87XaphKOrzbrEWYLS+96w6I+HuvqAwaDwk/wG0IIpoXHGiBrg++NQXZbfg
U3CltuUCgYEAyYVGN0e4crrefBTcYUeTfIqVV1I4YTIgB9/7nLz8W2w+f/reMYlw
uOUm29mQjkUIVMEXvjGQjVht2QhiOIsdFQ/fmd13gz4tHk+fVp893YHP/jECYBQo
CigTYknqObx1PeAQuG9Cxe0c5Mercneg0arQ4SMYxYWEy73iyPi9X8cCFAZsy8xE
Zcd3fZk5DvyP16EfrtP/
-----END DSA PRIVATE KEY-----
           --------------- end id_cvshome.key ---------------

and add something like this to the $HOME/.ssh/config file:

                --------------- cut here ---------------
Host cvshome.org
    ForwardX11 no
    ForwardAgent no
    LocalForward 24010 localhost:2401
    User tunnel
    IdentityFile /path/to/id_cvshome.key
                --------------- cut here ---------------


Once the tunnel is enabled, you should be able to do any local cvs
operations and the :pserver: communications will be forwarded over the
SSH tunnel for you.

        -- Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]