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

EXT4 In Linux 4.1 Adds File-System Level Encryption

The EXT4 file-system updates for the Linux 4.1 kernel have been sent in and it features the file-system-level encryption support. Earlier this month we wrote about the newly-published patches for EXT4 encryption support coming out of Google and intended to land in the next major release of Android. Those patches for file-system-level encryption will now be landing upstream with the Linux 4.1 kernel update. Besides this native encryption support for EXT4, the rest of the updates for this merge window pull request equate to mainly fixes. More details via the pull request itself. Read more

Manjaro Linux 0.8.13 Pre1 Released for Testing with KDE Plasma 5.2.2 and Xfce 4.12

The Manjaro development team announced that the first Preview release of the upcoming Manjaro Linux 0.8.13 operating system is now available for download in Xfce and KDE Live CD flavors. Read more

Ardour 4.0 released

The Ardour project is pleased to announce the release of Ardour 4.0. This release brings many technical improvements, as well as new features and over a thousand bug fixes. The biggest changes in this release: Better cross platform support. Ardour now runs on GNU/Linux, OS X and for the first time, Windows. JACK is no longer required, making it easier than ever for new users to get Ardour up and running (though JACK is still usable with Ardour). The user interface has seen a thorough overhaul, leading to a more modern and polished experience. Read more

Android Leftovers