#11 How to use the gin command behind a proxy

开启中
ppfeiffer5 年之前创建 · 3 条评论

Hi, our institute has a proxy and I cannot get my repo with gin, that is

gin get ppfeiffer/capacitance_modification_recordings

fails with connection timed out.

How do I configure gin to know about the proxy? I suppose this is somehow connected with how ssh knows about the proxy.

Every help appreciated :)

Best, Paul

Hi, our institute has a proxy and I cannot get my repo with gin, that is ``` gin get ppfeiffer/capacitance_modification_recordings ``` fails with connection timed out. How do I configure gin to know about the proxy? I suppose this is somehow connected with how ssh knows about the proxy. Every help appreciated :) Best, Paul
Achilleas Koutsou 评论于 5 年之前
所有者

Hi Paul,

I have no good way to test this (right now), but I think you're right that this will require solving the issue of getting SSH to connect to the server via the proxy. That said, I think that might not be enough since some operations rely on web requests.

I'd like to solve this since I'm sure it's not a particularly rare situation, so could you share some information about the setup?

  1. Which OS are you using?
  2. Do gin client web requests work? (e.g., gin login, gin info, gin repos)
  3. Do you have any configuration set up for using SSH through the proxy with any other servers?
  4. Does SSH to gin.g-node.org also time out? (ssh git@gin.g-node.org)
Hi Paul, I have no good way to test this (right now), but I think you're right that this will require solving the issue of getting SSH to connect to the server via the proxy. That said, I think that might not be enough since some operations rely on web requests. I'd like to solve this since I'm sure it's not a particularly rare situation, so could you share some information about the setup? 1. Which OS are you using? 2. Do gin client web requests work? (e.g., `gin login`, `gin info`, `gin repos`) 3. Do you have any configuration set up for using SSH through the proxy with any other servers? 4. Does SSH to gin.g-node.org also time out? (`ssh git@gin.g-node.org`)
Paul Pfeiffer 评论于 5 年之前
发布者

Hi Achilleas,

thanks for your help.

  1. Debian 9 with a 4.x kernel (Not sitting in front of the machine at the moment)
  2. gin repos and gin login worked
  3. and 4. to get git working, I tried setting the git ssh proxy setting, but this did not work yet either. I will try whether I can directly connect to gin via ssh tomorrow.

For now, I used the web interface to upload new recordings, but I would be happy if I also had the cli.

Hi Achilleas, thanks for your help. 1. Debian 9 with a 4.x kernel (Not sitting in front of the machine at the moment) 2. gin repos and gin login worked 3. and 4. to get git working, I tried setting the git ssh proxy setting, but this did not work yet either. I will try whether I can directly connect to gin via ssh tomorrow. For now, I used the web interface to upload new recordings, but I would be happy if I also had the cli.
Achilleas Koutsou 评论于 5 年之前
所有者

If SSH ends up working with the proxy settings, that might suggest that git works okay through the proxy but annex isn't.

I'll see if I can set up a little proxy locally to test some things, but in the meantime, let me know if the SSH works when you get the chance.

If SSH ends up working with the proxy settings, that might suggest that git works okay through the proxy but annex isn't. I'll see if I can set up a little proxy locally to test some things, but in the meantime, let me know if the SSH works when you get the chance.
登录 并参与到对话中。
未选择里程碑
未指派成员
2 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。