Skip to content
Jaromil edited this page Jun 18, 2013 · 16 revisions

Create a tomb

To create a new tomb just launch this 3 commands:

tomb dig -s tomb forge -k tomb lock -k

Open an existing tomb

To open an exiating tomb use this command:

tomb open -k

if the key is from stdin:

cat | 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

Close one or more tombs

To close an opened tomb:

tomb close

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.

Clone this wiki locally