Language Selection

English French German Italian Portuguese Spanish

Executing commands upon remote machines via secure email

Filed under
HowTos

I recently came across the grunt package which is designed to allow you to execute commands remotely, via the delivery of GPG-signed email. Since documentation is scant this introductory article was born.

Once installed there are three commands that can be used:

gruntsend
This allows you to send a list of commands to your mail server, where they will be executed. You'll be prompted to sign your mail, and this will then be sent.

gruntrecieve
This is the part of the program which reads in the encrypted command(s), verifies the signature and if they are valid executes them.

gruntrun
This command simply executes a simple command upon the remote host - without you needing to write it to a temporary file and cause it to be uploaded as you would with gruntsend.

To be clear about how the process works we'll show it running upon two machines:

Full Story.

More in Tux Machines

8-Way Linux Desktop OpenGL Comparison Atop Fedora 22

Beyond last week's Debian GNU/Hurd vs. GNU/Linux comparison, another set of updated benchmarks sought by some Phoronix Premium members have been a fresh cross-desktop environment comparison when running various games / OpenGL benchmarks across desktops / window managers. I haven't run any cross-desktop OpenGL performance comparisons recently, but with the request coming in from the premium bunch, I did some modern tests on Fedora 22 x86_64. With an Intel Core i7 5775C system sporting Iris Graphics Pro 6200, I tested the following desktops from their F22 packages with their out-of-the-box settings. Read more

NVIDIA 355 Beta Linux Driver Released, Closer To Supporting Wayland/Mir

NVIDIA this morning released their first public Linux driver beta in the 355.xx series, and it's quite an exciting update! In stepping closer toward supporting Wayland and Mir, there's a lot of EGL improvements in the 355 series! There is now experimental full OpenGL support under EGL, the EGL_KHR_swap_buffers_with_damage and EGL_NV_stream_consumer_gltexture_yuv extensions are now supported, and other changes. Read more

LibreOffice 5.0 RC Brings More DOCX Improvements, Final Version in Two Days

The Document Foundation has released the fifth and final Release Candidate for LibreOffice 5.0, which should be identical to the stable edition that will be made available in a couple of days. Read more

Manjaro 0.8.13 Gets the Latest NVIDIA Drivers with the Seventh Update, and Much More

The Manjaro developers are on a roll, and they've just released yet another update for Manjaro 0.8.13, bringing numerous Linux kernel updates and quite a few other packages. Read more