-
-
Notifications
You must be signed in to change notification settings - Fork 157
Quickstart
Jaromil edited this page Jun 18, 2013
·
16 revisions
To create a new tomb just launch this 3 commands:
tomb dig -s <tomb size in Mb> <tomb name>
tomb forge -k <tomb key name>
tomb lock -k <tomb key name> <tomb name>
To open an exiating tomb use this command:
tomb open -k <tomb key name> </path-to-tomb/tomb-name>
if the key is from stdin:
cat <tomb key> | tomb open -k - /path-to-tomb/tomb-name
for instance if the "tomb.key" is on another server, use ssh without saving it to open "secret.tomb":
ssh my.other.server.net 'cat tomb.key' | tomb open -k - secrets.tomb
To close an opened tomb:
tomb close <tomb-name>
To close all opened tombs:
tomb close all
If a tomb is busy and you want to close it:
tomb slam
WARNING: this command will kill all the processes that keeps a tomb busy.