Running remote commands on your filesystem

The account and filesystem you are provided with run on Unix systems and while there is no interactive login, there is a large number of commands you can run over SSH, like this;

ssh [email protected] "rm -rf your/file"
ssh [email protected] "md5 some/file"

If you truly want or need to work interactively (we recommend the geographically redundant product if you are only storing your data with us), you can mount your filesystem locally using SSHFS.

Inspect the space usage of particular directories within your filesystem;

ssh [email protected] "du -Ahd2 some/directory"

Generate the checksum of a file;

ssh [email protected] md5 some/file

(you can also use sha1, sha256 and rmd160)

Use dd to write a received pipe to a file;

pg_dump -U postgres db | ssh [email protected] "dd of=db_dump"

You can run git within your filesystem if you need to;

ssh [email protected] "git clone git:// freebsd"

We have direct support for attic, borg, rclone, unison and rdiff-backup and these tools are preinstalled in every account. You will most likely call these commands from a local environment and connecting to your Clara Cloud Storage filesystem with them.

Commands that return an exit status code will return the code via SSH, for example;

# ssh [email protected] "test -f fileThatExists" 
# echo $? 

Finally, these other commands are also available;

  • cat
  • dd
  • echo
  • test
  • tree
  • tail
  • cp (GNU)
  • ls
  • mkdir
  • pwd
  • chmod
  • ln
  • mv
  • rm
  • rmdir
  • touch
  • chgrp
  • groups
  • id
  • passwd
  • quota
  • find
  • gfind (GNU find)
  • split
  • fetch
  • df
  • md5
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512
  • sha512t256
  • rmd160
  • skein256
  • skein512
  • skein1024
  • date
  • cksum