Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-06-2011, 07:54 AM   #1
LQ Newbie
Registered: Jul 2010
Distribution: Ubuntu
Posts: 23

Rep: Reputation: 0
Authorization problem on Amazon S3 with Boto in Gnome Terminal as opposed to SSH

I have a problem with Boto, the Amazon S3 library.
This is in ubuntu 11.04 with python-boto 1.9b-1ubuntu5.

I try this in Python:
    >>> import boto
    >>> s3=boto.connect_s3()
    >>> b=s3.get_bucket('')
This works when I ssh into the ubuntu machine.
It fails when I am logged into gnome session and it is not run with root privileges (after sudo su).

The error message we get is S3ResponseError: 403 Forbidden with "The request signature we calculated does not match the signature you provided. Check your key and signing method."

The credentials are given by way of environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

When I am root before starting python (with sudo su), the get_bucket() call succeeds.

Do you have an idea what could be wrong with my desktop ?


authorization, gnome, ssh, terminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to Amazon EC2 Arlc Linux - Security 3 07-22-2011 08:41 PM
open an ssh session in a new instance of gnome-terminal? recomboDNA Programming 1 09-14-2010 09:49 PM
trouble with VNC in gnome-rdp started through terminal via ssh (Xubuntu 7.10) sehku17 Linux - Software 2 05-01-2008 07:47 PM
Terminal and SSH problem juanvelez Linux - General 1 04-27-2006 09:08 PM
Problem with remote terminal (ssh and PuTTY) guardian653 *BSD 11 02-09-2005 07:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration