Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] Using osc behind a ssh tunnel (solved)
  • From: David Cournapeau <david@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 03 Apr 2007 12:23:06 +0900
  • Message-id: <4611C89A.8060209@xxxxxxxxxxxxxxxxxxxxxx>
David Mayr wrote:

OK, I got it work:

First, you need to start your ssh tunnel. You need to have a host (here '') outside your network, that can connect to without limitations:

   ssh -L

Then edit your /etc/hosts to have a line like the following - this is important because 1. the ssl certificate needs to be accepted by osc (hostname must be the same as in the certificate) and 2. the api-webserver needs to be called by it's real name (to choose the right vhost). Also remember to revert this step if you would like to connect to the normal way (without the ssh tunnel) again:       localhost

After that, edit your ~/.oscrc like this:

   apisrv =
   user = yourusername
   pass = yourpassword

Then osc should work even in your 'buggy' network :-)
Have a lot of fun...

Thanks, I manage to make a connection this way from a vmware image. May I suggest to make a note about the constraint to have the same DNS in the config file ? Because I don't think the current comment is really helpful.

Is there a chance that "normal" access through a https proxy will be worked out ?

Anyway, thanks for the quick reply !


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >