PREREQUISITES

Install encfs and fuse
# apt-get install fuse encfs
Install a cloud service(copy.com used here)(assuming ~/bin is in your path and running on a 64bits machine)
When using a different architecture just change x86_64 to x86 or armv6h in the client install script
If ~/bin is not in your path add to your bashrc(example using user: test):
PATH=$PATH:/home/test/bin
Download and install the copy client for linux
$ wget https://copy.com/install/linux/Copy.tgz
$ mkdir ~/bin/copy; tar -xf Copy.tgz -C ~/bin/copy
$ ln -s ~/bin/copy/x86_64/CopyConsole ~/bin/CopyConsole

SETUP

Make sure your user is in the fuse group and setup the encfs share by doing this:

$ mkdir ~/.copy.encr ~/copy
$ encfs ~/.copy.encr ~/copy
When they ask use option p for paranoia and pick a password.
Create an account on copy.com and setup the client by typing this command
$ CopyConsole -u=the_mail_you_signed_up_with -r=/home/your_linux_username/.copy.encr -p=the_password_you_signed_up_with
This creates a setup that does this automatically in the future
Let the daemon and the encfs autostart when you and only you are logged in by adding this to ~/.bashrc
if ! mountpoint -q ~/copy; then
    encfs ~/.copy.encr ~/copy
fi
if ! pidof CopyConsole >> /dev/null; then
    CopyConsole -daemon 2>&1 1>/dev/null
fi
Congratulations your setup is working.
When you want to stop the daemon you can kill the pid given by ~/.copy.pid.
From now on your computer or server will ask one time for you password when the first bash starts in your account.

NOTES

This could work with any cloud service, just mount the folder it wil sync first with encfs