Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I run Ubuntu 12.04 on a headless server.

I've set up an Ubuntu One account.

I have installed ubuntuone-sso-login.py and generated a key with it.

I have run:

u1sync --init --oauth=[here I've put the key with cut and past from the step before] [directory name]

And I always get this error message :

u1sync: error: --oauth requires a key and secret together in the  form KEY:SECRET

What have I done wrong?

share|improve this question
add comment

2 Answers 2

We have solved it, but I want to share it :

#!/bin/bash

OAUTH_TOKEN=Ffdxxxxxx
OAUTH_TOKEN_SECRET=oDxxx

OAUTH=$OAUTH_TOKEN:$OAUTH_TOKEN_SECRET

/usr/bin/u1sync --oauth $OAUTH 

I also had to remove the (=) equal after the --oauth

share|improve this answer
add comment

Alternatively, you can use this guide to use the current Ubuntu One client headless:

https://wiki.ubuntu.com/UbuntuOne/Headless

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.