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

Tunir 0.13 is released and one year of development

I have started Tunir on Jan 12 2015, means it got more than one year of development history. At the beginning it was just a project to help me out with Fedora Cloud image testing. But it grew to a point where it is being used as the Autocloud backend to test Fedora Cloud, and Vagrant images. We will soon start testing the Fedora AMI(s) too using the same. Within this one year, there were total 7 contributors to the project. In total we are around 1k lines of Python code. I am personally using Tunir for various other projects too. One funny thing from the code commits timings, no commit on Sundays :) Read more

Andy Rubin Unleashed Android on the World. Now Watch Him Do the Same With AI

Now that Rubin had shepherded smartphones from concept to phenomenon, they no longer held much interest. As an engineering problem, they had been solved. Sure, entrepreneurs kept launching new apps, but for someone who considered engineering an art, that was like adding a few brushstrokes atop layers of dried paint. Rubin wanted to touch canvas again—and he could see a fresh one unfurling in front of him. Read more

Building a culture of more pluggable open source

If there is one word that often percolates conversations hailing the benefits of open source, it is choice. We often celebrate many of the 800+ Linux distributions, the countless desktops, applications, frameworks, and more. Choice, it would seem, is a good thing. Interestingly, choice is also an emotive thing. Read more

A new frontier for open source: Linux will power our robotic future

"You know, with windows versus Linux, Windows got there first by a long shot. It was the entrenched party. So Linux is the scrappy upstart. In the case of robotics, open source got there first. The community grew up doing things the open source way. There was actually a period in the mid-2000s where Microsoft put a lot of effort into its Windows-based Robotics Developer Studio. It had really good features, but it's never taken off. So yeah, I think robotics are proving to be a different situation than what happened with personal computing." Long live Linux. Long live ROS. Long live open source. Read more