sinshiva
sinshiva

Reputation: 467

AWS CLI S3 Access

I am trying to access S3 Bucket using AWS CLI. I have installed and configured AWS CLI referring to AmazonAWSCLI. So, when I try to list using $aws s3 ls s3://xyz/ I am getting the following error:

Not supported proxy scheme asusproxy

I tried to setup proxy using

export HTTP_PROXY=http://username:password@a.b.c.d:n

But, still getting the same error. What might be the issue?

Note:-

The same setup works on an amazon ec2 machine

Upvotes: 0

Views: 1229

Answers (1)

hellomichibye
hellomichibye

Reputation: 4302

If you need to access AWS through proxy servers, you should configure the HTTP_PROXY and HTTPS_PROXY environment variables with the IP addresses for your proxy servers.

try:

export HTTP_PROXY=http://username:password@a.b.c.d:n
export HTTPS_PROXY=http://username:password@a.b.c.d:n

the setup works on your ec2 instance because there is no proxy server.

Upvotes: 2

Related Questions