Posted on 23-09-2006
Filed Under (Joyent, StrongSpace) by Nick

I came across this forum thread on how to add a subversion repository to your StrongSpace account. This means you are able to use StrongSpace as your subversion repository, instead of having to use up precious disk space in TextDrive. The following is a rehash of what was covered in that forum thread.

Start by creating a subversion repository locally.


$ svnadmin create ./repos

Then secure copy the repository to your StrongSpace account.


$ scp -r ./repos ss_user@ss_user.strongspace.com:/home/ss_user/repos

From your local computer, you can access your subversion repository on StrongSpace using the svn+ssh URL schema. For example:


$ svn list svn+ssh://ss_user@ss_user.strongspace.com/home/ss_user/repos

(0) Comments    Read More   
Posted on 23-09-2006
Filed Under (Joyent, StrongSpace) by Nick

This little tip allows you to store your public ssh key on StrongSpace, which means you can use sftp and scp to access StrongSpace without having to type in your password each time.

From the command line, enter the following:

Generate your public and private key. You can accept the default settings, or enter a passphrase to secure your private key.


$ ssh-keygen -t dsa
$ chmod 400 ~/.ssh/id_dsa

SFTP to StrongSpace to create a .ssh directory.


$ sftp ss_user@ss_user.strongspace.com
$ mkdir .ssh
$ exit

Secure copy your public key over to StrongSpace.


$ cat .ssh/id_dsa.pub >> authorized_keys
$ scp ~/authorized_keys ss_user@ss_user.strongspace.com:.ssh/authorized_keys

We now need to CHMOD the authorized_keys file on StrongSpace so that only the user has read/write privileges. Note that when we SFTP in the following, we should no longer need to type our password in.


$ sftp ss_user@ss_user.strongspace.com
$ cd .ssh
$ chmod 600 authorized_keys
$ exit

If you want to add more keys to the authorized_keys file on StrongSpace, you’ll need to first copy it to your local computer, then concatenate the new public key to the file and copy it back to StrongSpace.


$ scp ss_user@ss_user.strongspace.com:.ssh/authorized_keys ~/
$ cat .ssh/id_dsa.pub >> authorized_keys
$ scp ~/authorized_keys ss_user@ss_user.strongspace.com:.ssh/authorized_keys

(1) Comment    Read More   
Posted on 23-09-2006
Filed Under (Joyent, StrongSpace) by Nick

I now have a StrongSpace account that came with my Mixed Grill special from TextDrive. StrongSpace is a secure file repository that is accessible either through SFTP or StrongSpace’s web application.

You can also use rsync to sync with a folder on StrongSpace. If you use a Mac, then the rsync command would be:


rsync -rltvz /Users/user/BackUp user@strongspace.com:/home/user

You’ll need to change user with your respective local and remote accounts.

(0) Comments    Read More