On Monday, 2. April 2007 06:16, David Cournapeau wrote:
Hi there,
Hi,
Is there a way to use osc through a ssh tunnel ? The problem is that my university's proxy configuration is causing all kind of problems (osc connections hang up), and one way to avoid the proxy is to use a ssh tunnel to one of the university's machine with direct access to the internet. Basically, I would need to tell osc to connect to localhost at a certain port, which would be redirected to api.opensuse.org:443 through the ssh tunnel. In the $HOME/.oscrc, there is a comment about changing api.opensuse.org to a different server, but without enough details to make it work ?
To use another apiserver, you have to add another section in .oscrc similar to the api.opensuse.org section: [localhost:8888] user = youruser pass = yourpass then you can change the apisrv setting to apisrv = localhost:8888 However, I tried it, and didn't get it to work. The only thing I got as response from the server was an opening bracket, no matter what request I sent. Maybe it's a problem with ichain. OTOH, I have zero clue about ssh tunnels, so I could be doing something wrong what is obvious to someone more experienced. So please try it. Andreas
thanks,
David
-- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org