Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Add support for http_proxy at remote server #74

Closed
hoanghuynh opened this issue Apr 29, 2019 · 1 comment
Closed

Add support for http_proxy at remote server #74

hoanghuynh opened this issue Apr 29, 2019 · 1 comment

Comments

@hoanghuynh
Copy link

My remote server needs to use an http_proxy/https_proxy to download packages from internet. Can you add support for this? Usually I would add export http_proxy=someproxy:port and export https_proxy=someproxy:port to the beginning of my script.

Even better, can we have an option to run some commands (like the exports above) before sshcode starts executing?

@sreya
Copy link
Collaborator

sreya commented Apr 30, 2019

This is similar to #73 ...would downloading it locally and scp'ing it to the server suffice? The only downside I see is that it could be potentially be quite slow depending on your network speed

@eargollo eargollo mentioned this issue Jun 14, 2019
eargollo pushed a commit to eargollo/sshcode that referenced this issue Jun 18, 2019
eargollo added a commit to eargollo/sshcode that referenced this issue Jun 24, 2019
deansheather added a commit that referenced this issue Jun 27, 2019
Solves proxy issue, closes #74 when proxy is set at .profile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants