#11 How to use the gin command behind a proxy

Відкрити
5 роки тому відкрито ppfeiffer · 3 коментарів
Paul Pfeiffer відкоментовано 5 роки тому

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 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.