From: Jakub Narebski <jnareb@gmail.com>
To: "Alex Riesen" <raa.lkml@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Help! My ISP blocks repo.or.cz. How to push changes?
Date: Mon, 12 Jan 2009 12:13:44 +0100 [thread overview]
Message-ID: <200901121213.45858.jnareb@gmail.com> (raw)
In-Reply-To: <81b0412b0901120117mf010317m79874a235e29a439@mail.gmail.com>
Alex Riesen wrote:
> 2009/1/12 Jakub Narebski <jnareb@gmail.com>:
> > Do you have any suggestions to bypass this block for git? I have access
> > to Linux shell account (no root access, though) which doesn't have
> > problems with repo.or.cz, so I think I could set up SSH tunnel: but
> > how? And what to do with access via git:// - move to SSH too?
>
> See man ssh, look for -L. It works for arbitrary ports, so you can redirect
> git:// port to anywhere. Same for push over ssh, just give another port when
> connecting.
Currently I have the folowing in my ~/.ssh/config:
# TP S.A. blocks repo.or.cz
Host repo.or.cz
NoHostAuthenticationForLocalhost yes
HostName localhost
Port 2222
and I can simply use "git push repo" without any changes.
But I have to run
$ ssh -f -N -L 2222:repo.or.cz:22 jnareb@host.example.com
first. Is there any way to automate this?
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2009-01-12 11:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 1:46 Help! My ISP blocks repo.or.cz. How to push changes? Jakub Narebski
2009-01-12 9:17 ` Alex Riesen
2009-01-12 11:13 ` Jakub Narebski [this message]
2009-01-12 11:20 ` Luciano Rocha
2009-01-12 11:25 ` Asheesh Laroia
2009-01-12 23:39 ` Jakub Narebski
2009-01-13 20:13 ` Asheesh Laroia
2009-01-12 12:23 ` Mike Hommey
2009-01-12 23:43 ` Jakub Narebski
2009-01-13 0:59 ` Markus Heidelberg
2009-01-14 13:55 ` Help! My ISP blocks repo.or.cz. How to push changes? (a solution) Jakub Narebski
2009-01-14 17:18 ` Asheesh Laroia
2009-01-12 9:21 ` Help! My ISP blocks repo.or.cz. How to push changes? Asheesh Laroia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901121213.45858.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=raa.lkml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).