[TriLUG] /etc/enviornment and proxy servers
Greg Brown
gwbrown1 at gmail.com
Fri May 20 13:37:13 EDT 2005
Nope, I can't ssh out without going through a ssh proxy (and it's a
clever one and it seems to be able to kill forwarded ports).
As for the export, I can type "env | grep proxy" and I see the
variable $http_proxy set with the correct URL, username, and password.
But it still doesn't work. When I try I get:
Proxy request sent, awaiting response... 407 Proxy Authentication Required
13:59:43 ERROR 407: Proxy Authentication Required.
http_proxy=http://username:password@proxy.xxxxx.com:8080/xxproxy/
Any other ideas?
On 5/20/05, John Broome <jbroome at gmail.com> wrote:
> Nathan Conrad wrote:
> > The /etc/environment is a valid place to put the proxy configuration
> > since bash automatically runs it when it opens up. What you may have
> > done is forget to put "export" at the beginning of the line where you
> > set the proxy. Export tells bash to pass the variable to other
> > programs, such as apt-get. Without it, the variable can only be used
> > by the shell itself.
>
>
> I know nothing of proxies and little of the apt-goodness.. I wonder if
> he can tunnel apt through ssh. :)
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
>
More information about the TriLUG
mailing list