#11 How to use the gin command behind a proxy

Open
opened 5 years ago by ppfeiffer · 3 comments

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 commented 5 years ago
Owner

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 commented 5 years ago
Poster

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 commented 5 years ago
Owner

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.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.